Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Result of "Show" wrong when ImageSize is too big' topicStudent Support Forum > General > "Result of "Show" wrong when ImageSize is too big"

Next Comment >Help | Reply To Topic
Author Comment/Response
Mario
05/11/13 10:23am

I have problem when I evaluate the following commands in Mathematica 8:

Show[Graphics[Polygon[{{-10000,0},{10000,-20000},{10000,20000}}]],PlotRange->{{9950,9951},{2506,2507}},ImageSize->350]

Show[Graphics[Polygon[{{-10000,0},{10000,-20000},{10000,20000}}]],PlotRange->{{9950,9951},{2506,2507}},ImageSize->400]

The first Show command gives the correct result (a black square, as the region specified in PlotRange is completely contained in the polygon) but the second does not (I get an "empty plot", i.e. a white square). This occurs first when PlotRange is set to 373. I guess the problem is precision related but using higher precision settings doesn't seem to have any impact on graphical objects displayed using show. Does anyone know how I can solve that problem and get the correct result even if I set PlotRange to 400 or higher?

URL: ,

Subject (listing for 'Result of "Show" wrong when ImageSize is too big')
Author Date Posted
Result of "Show" wrong when ImageSize is too big Mario 05/11/13 10:23am
Re: Result of Mario 05/15/13 06:55am
Next Comment >Help | Reply To Topic