Re: listplot and notebook directory
- To: mathgroup at smc.vnet.net
- Subject: [mg15455] Re: [mg15345] listplot and notebook directory
- From: Maarten.vanderBurgt at icos.be
- Date: Mon, 18 Jan 1999 04:21:56 -0500
- Sender: owner-wri-mathgroup at wolfram.com
Thank you all very much for your help,
For the ListPlot problem: using MultipleListPlot seems the most simple
solution to me.
My notebook directory problem is solved in a most elegant way using:
DirectoryName[ToFileName["FileName"/.NotebookInformation[SelectedNotebook[]
]]]
NotebookDirectory[ InputNotebook[] ] does not seem to work on my system
(Mathematica 3.0.1, Windows NT4), also not for a notebook on my local
C-drive.
thanks again for your help
regards
Maarten van der Burgt
Icos Vision Systems
Leuven
Belgium
BobHanlon at aol.com on 10-01-99 09:57:42 PM
cc:
Subject: [mg15455] Re: [mg15345] listplot and notebook directory
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