Re: how to place circles or starts in (along) the curves in the plot?
- To: mathgroup at smc.vnet.net
- Subject: [mg108735] Re: how to place circles or starts in (along) the curves in the plot?
- From: dh <dh at metrohm.com>
- Date: Mon, 29 Mar 2010 06:58:09 -0500 (EST)
- References: <hopv13$r7c$1@smc.vnet.net>
Hi haibo,
markers are great for plotting data points, but on a continuous curve do
not make much sense. It is better to use color and dashing, like e.g.:
PlotStyle -> {Red, Green, Dashed}
Daniel
On 29.03.2010 12:22, Haibo Min wrote:
> Hi, there. I want to place circles, starts, triangle etc. in
> different curves within a grpah to distinguish them from each other. How to
> do it? I have read all the help document on Plot, but still have no idea.
>
> For example, the following codes only automatically distinguish the Sin^2
> and Cos^2 by different colors,
>
> Plot[{Sin[x^2], Cos[x^2]}, {x, 0, 3}]
>
> If I want to place circles along the Sin^2 curve, and stars along the Cos^2
> one, how to?
>
> Thank you!
>
>
--
Daniel Huber
Metrohm Ltd.
Oberdorfstr. 68
CH-9100 Herisau
Tel. +41 71 353 8585, Fax +41 71 353 8907
E-Mail:<mailto:dh at metrohm.com>
Internet:<http://www.metrohm.com>