Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Bug in Graphics output of Circle primitive?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg62860] Bug in Graphics output of Circle primitive?
  • From: Yves Klett <yk at despammed.com>
  • Date: Tue, 6 Dec 2005 23:10:53 -0500 (EST)
  • Organization: Comp.Center (RUS), U of Stuttgart, FRG
  • Sender: owner-wri-mathgroup at wolfram.com

Dear Mathgroup,

I stumbled upon a strange (and suspicious) graphics output when 
displaying arcs with small angular length.

If I evaluate the following lines:

r = 10000;
gx = Circle[{r, 0}, r, {179°, 180°}];
Show[Graphics[{gx, Point[{0, 0}]}], Axes -> True,
  PlotRange -> {Automatic, Automatic}, AxesOrigin -> {0, 0}];

(or the same in plain text format...)

r=10000;
gx=Circle[{r,0},r,{179\[Degree],180\[Degree]}];
Show[Graphics[{gx,Point[{0,0}]}],Axes\[Rule]True,
     PlotRange\[Rule]{Automatic,Automatic},AxesOrigin\[Rule]{0,0}];


I get the point as specified at the origin {0,0}. The arc though does 
not intersect at the origin as it should IMHO, but somewhat left of it. 
  Same thing occurs for arbitrary values of r.

There might be some precision problem of the postscript output 
concerning the Circle primitive when very different axes scaling is 
used, but any enlightment would be appreciated.

I am using V5.2 on windows. Any hints or tips to get rid of this faulty 
output would be very welcome,

Yves Klett


  • Prev by Date: Re: Types in Mathematica thread
  • Next by Date: Re: Importing tab-delimited data files?
  • Previous by thread: Re: Re: Zero or one
  • Next by thread: Re: Bug in Graphics output of Circle primitive?