MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Tick marks don't scale proportionally with other elements of the

  • To: mathgroup at smc.vnet.net
  • Subject: [mg124151] Tick marks don't scale proportionally with other elements of the
  • From: Szabolcs Horvát <szhorvat at gmail.com>
  • Date: Wed, 11 Jan 2012 04:22:13 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

Note: cross posted to
http://stackoverflow.com/questions/8805451/tick-marks-dont-scale-in-graphics-why-and-how-to-fix-this
See that link for graphics.


Dear MathGroup members,

As we rasterize 3D images at higher and higher resolutions, 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?

Evaluate this code to see an illustration of the problem:

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

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

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


(warning: produces large images as output!)

-- 
Szabolcs Horvát
Mma QA site proposal: http://area51.stackexchange.com/proposals/37304



  • Prev by Date: Re: Plotting an Array of Vectors
  • Next by Date: Re: Plotting an Array of Vectors
  • Previous by thread: Custom sorting via ordering list
  • Next by thread: Booelan matrices for ordering and sorting