MathGroup Archive 1998

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

Search the Archive

Re:Graphics bug in Mathematica (2)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg13432] Re:Graphics bug in Mathematica (2)
  • From: "Allan Hayes" <hay at haystack.demon.cc.uk>
  • Date: Thu, 23 Jul 1998 03:33:33 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

>Andrzej Kozlowski wrote in message <6ourio$jft at smc.vnet.net>...
>.............
>>The bug (bugs) can be summarized like this: Dashing[] before a Point[]
>>will kill the point when using Show or Display["stdout",graphic]. Here
>>is a simple example:
>>
>>g1=Graphics[{Dashing[{0.01}],
>>Line[{{-1,1},{2,1}}],PointSize[0.1],Point[{0,0}]},PlotRange->All];Show[g1]
>>
>>If you evaluate it in either Mathematica 2 or 3 you will see that the
>>point is not drawn. Putting the Point before Dashing makes the point
>>display properly.
>............

In my earlier posting on this I reported that the point was drawn on my
machine running
Windows 98 and Mathematica 3.0

I have re-run the test with Mm 3.0 on Windows 98 and this time the point
*did not* appear.

Here are tests with Mathematica 3.0 on Windows 98, Power Mac OS8 and
NeXTSEP 3.3 NeXTSTEP 3.3. seems not to have this problem.

Show[
Graphics[{Dashing[{0.01}],Line[{{-1,1},{2,1}}],PointSize[0.1],Point[{0,0}]},
PlotRange->All, Frame->True]]

Windows 98: point not displayed
Power Mac OS8: point not displayed
NeXTSTEP 3.3: point displayed

Show[
Graphics[{PointSize[0.1],Point[{1,1}],
Dashing[{0.01}],Point[{2,1}],Line[{{3,0},{3,2}}],Point[{4,1}]},PlotRange->{{
0,5},{0,2}}, Frame->True]]

(*it seems that Dashing + Line is needed to suppress the point*)


Windows 98: first and second points displayed *third point not
displayed* Power Mac OS8: first and second points displayed *third
point not displayed* NeXTSTEP 3.3: first and second points displayed
*third point displayed*

------------------------------------------------------------- 
Allan Hayes
Training and Consulting
Leicester UK
http://www.haystack.demon.co.uk
hay at haystack.demon.co.uk
voice: +44 (0)116 271 4198
fax: +44(0)116 271 8642



  • Prev by Date: Re: rkf45
  • Next by Date: Re: pasting the outputs
  • Previous by thread: Re: Install[] and command line args?
  • Next by thread: tag Times protected??