Message Boards Message Boards

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

Odd behavior of Graphic

Posted 10 years ago
On my system, Mma 9.0.1.0
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,
David
POSTED BY: David Keith
4 Replies
Posted 10 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
Posted 10 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
This is a special case, but I will report it.

Thank you.
POSTED BY: Bruce Miller
Posted 10 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
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract