MathGroup Archive 1999

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

Search the Archive

Re: listplot and notebook directory

  • To: mathgroup at smc.vnet.net
  • Subject: [mg15384] Re: [mg15345] listplot and notebook directory
  • From: BobHanlon at aol.com
  • Date: Tue, 12 Jan 1999 03:14:47 -0500
  • Sender: owner-wri-mathgroup at wolfram.com

In a message dated 1/10/99 1:42:56 AM, Maarten.vanderBurgt at icos.be
writes:

>When I execute the following command the result is a listplot where the
>data points ares fairly big filled black circles.
>     In[1]:=   ListPlot[{0,2,4,9,16,25},PlotStyle->PointSize[0.05]]
>
>The following gives a plot where the data points are joined by a line.
>     In[2]:=   ListPlot[{0,2,4,9,16,25},PlotJoined -> True]
>
>With the following I would expect the combination of the two. It does
>however give the same results as In[2]: the
>"PlotStyle->PointSize[0.05]" options doesn't seem to have any effect
>here. Is this intended behaviour or is this a bug?
>     In[3]:=   ListPlot[{0,2,4,9,16,25},PlotJoined -> True,
>PlotStyle->PointSize[0.05]]
>
>Is there a way you can have both options "PlotJoined -> True" and
>"PlotStyle->PointSize[0.05]"?
>

Maarten,

Just overlay the two plots.

plt1 = ListPlot[{0,2,4,9,16,25},
		PlotStyle->PointSize[0.05], 
		DisplayFunction -> Identity];

plt2 = ListPlot[{0,2,4,9,16,25},
		PlotJoined -> True, 
		DisplayFunction -> Identity];

Show[{plt1, plt2}, DisplayFunction-> $DisplayFunction];
_________________________

For Path names use the command

		Input, Get File Path ...

and select file from browser.


Bob Hanlon


  • Prev by Date: Strange results
  • Next by Date: exporting animations
  • Previous by thread: listplot and notebook directory
  • Next by thread: RE: listplot and notebook directory