Message Boards Message Boards

4 Replies
0 Total Likes
View groups...
Share this post:

Odd behavior of Graphic

Posted 11 years ago
On my system, Mma
This will draw a frame:
(* This will draw a frame *)
Graphics[ImageSize -> 72 5, Frame -> True,
AspectRatio -> 1/GoldenRatio, PlotRange -> {{80, 300}, {10, 70}}]

But this will not:
(* This will not *)
Graphics[Frame -> True, AspectRatio -> 1/GoldenRatio,
PlotRange -> {{80, 300}, {10, 70}}, ImageSize -> 72 5]
The only difference I can see is that in the second one the ImageSize option is at the end of the sequence of options instead of the beginning.
Any ideas?

Best regards,
POSTED BY: David Keith
4 Replies
Posted 11 years ago
Thanks, Bruce. But it is a rather pathlogical case, isn't it. Who would ever want a Graphics wituout any graphics?!
I ran into it while trying to learn more about creating custom graphcs.
Best,  David
POSTED BY: David Keith
This is a special case, but I will report it.

Thank you.
POSTED BY: Bruce Miller
Posted 11 years ago
The Graphic cells above actually don't have any graphic primiivites in them, they are just nothing with options. If I put a single point in them, then ImageSize controls the frame size, otherwise it is ignored. Curiouser and curiouser.
POSTED BY: David Keith
Posted 11 years ago
I must not understand ImageSize. I also see it does not actually affect the size of the above graphics!
POSTED BY: David Keith
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract