Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

In Mathematica there is a seemingly never-ending list of parameters that affect the appearance of Graphics and Graphics3D objects: ImageSize, ImageSizeRaw, ImagePadding, ImageMargins, PlotRange, PlotRangePadding, PlotRangeClipping, PlotRegion, ...

I'm looking for a chart that illustrates as many of these parameters as possible in one place.

What I'm looking for is something in the same spirit as this chart illustrating similar terminology for CSS3:

enter image description here

share|improve this question
    
Great question, I would love to see this :) If you are interested in other options, there is a great example for ViewMatrix for graphics 3D by Yu-Sung Chang –  Kuba Sep 5 '13 at 22:20
    
Good selection of parameters. All of them involve regions that can be illustrated graphically. Some other candidates for graphical illustration: Offset, Placed, Invisible, Alignment, Scaled, ImageScaled... –  David Carraher Sep 6 '13 at 0:27
1  
@Anon Why did you delete your Manipulate answer? I think it is a very good way for new users to discover all the nuances of the options interactively! –  István Zachar Sep 6 '13 at 8:35
    
@IstvánZachar I felt it was too simplistic. I upgraded it and undeleted. If I get time, I might put labels and add more options. –  Pickett Sep 6 '13 at 8:51
    
@Anon Simplicity is rather important: you should never underestimate the helplessness of a new user! :) –  István Zachar Sep 6 '13 at 9:00

2 Answers 2

up vote 25 down vote accepted

I doubt you can find a chart for all options, but take a look at this:

enter image description here

enter image description here

For this and other insights two courses by Yu-Sung are a must (there are notebooks and videos there):

The above chart is from the 1st one. The one @Kuba links in the comment to your question is from the 2nd - I show image below:

enter image description here

share|improve this answer

Interactive illustration of the most fundamental properties:

Manipulate[
 Column[{
   Overlay[{
     Framed[Graphics[{
        LightYellow, 
        Rectangle[{-plotRangePadding - plotRange, -plotRangePadding - 
           plotRange}, {plotRangePadding + plotRange, 
          plotRangePadding + plotRange}],
        LightGreen, 
        Rectangle[{-plotRange, -plotRange}, {plotRange, plotRange}],
        LightBlue, Rectangle[{0, 0}, {2, 2}]
        },
       Background -> LightBrown,
       ImageSize -> size,
       ImageMargins -> margins,
       ImagePadding -> padding,
       AspectRatio -> aspectRatio,
       PlotRange -> plotRange,
       PlotRangePadding -> plotRangePadding,
       Axes -> True,
       AxesStyle -> Directive[Orange, 12], Frame -> True
       ]],
     Framed[Graphics[
       {}, ImageSize -> size - 2 margins, ImageMargins -> margins, 
       AspectRatio -> aspectRatio
       ]]
     }, Alignment -> Center],
   SwatchLegend[{LightBrown, LightBrown, LightYellow, LightGreen, 
     LightBlue}, {"The outer light brown area signifies image \
margins.", "The inner light brown area signifies image padding.", 
     "The light yellow area is designated by PlotRangePadding.", 
     "The light green area is designated by PlotRange.", 
     "The blue square is drawn using Rectangle[{0,0},{2,2}]"}],
   Text["All attributes are applied symmetrically. E.g. the margins \
are the same on every side of the object."]
   }],
 {size, 400, 1000}, {padding, 80, 200}, {margins, 80, 
  200}, {aspectRatio, 1, 5}, {plotRange, 2, 10}, {plotRangePadding, 1,
   10}
 ]

enter image description here

share|improve this answer
2  
As it often happens in Mathematica SE, I found it difficult to pick one out of multiple superb answers... Since I did not pick yours, I want to at least thank you for it: I learned a ton from it. –  kjo Sep 7 '13 at 20:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.