刻度线在图形中无法缩放 - 为什么以及如何解决这个问题?

发布于 2024-12-26 03:09:58 字数 680 浏览 3 评论 0原文

当我们以越来越高的分辨率光栅化 3D 图像时,每个图像元素都应该按比例变得越来越大。然而,刻度线在一段时间后就会停止生长。有没有办法确保刻度线像文本一样与图形的其余部分成比例增长?


插图:

g = Graphics3D[Sphere[], Axes -> True, ImageSize -> 200]

Table[Image[
  ImageResize[Rasterize[g, "Image", ImageResolution -> n 72], 
   Scaled[1/n]], Magnification -> 1], {n, 6}]

Mathematicagraphics

Column[Table[
   Image[Rasterize[g, "Image", ImageResolution -> n 72], Magnification -> 1], 
   {n, 6}], Alignment -> Left]

单击此处查看输出(太大而无法方便内联)

As we rasterize 3D images at higher and higher resolution, every image element should get proportionally bigger and bigger. However, tick marks stop growing after a while. Is there a way to ensure that tick marks should grown proportionally to the rest of the graphic, like text does?


Illustration:

g = Graphics3D[Sphere[], Axes -> True, ImageSize -> 200]

Table[Image[
  ImageResize[Rasterize[g, "Image", ImageResolution -> n 72], 
   Scaled[1/n]], Magnification -> 1], {n, 6}]

Mathematica graphics

Column[Table[
   Image[Rasterize[g, "Image", ImageResolution -> n 72], Magnification -> 1], 
   {n, 6}], Alignment -> Left]

Click here to see the output (too big to be conveniently inlined)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文