Re: Mesh->Full, Joined->True

*To*: mathgroup at smc.vnet.net*Subject*: [mg80255] Re: Mesh->Full, Joined->True*From*: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>*Date*: Wed, 15 Aug 2007 04:31:50 -0400 (EDT)*Organization*: The Open University, Milton Keynes, UK*References*: <f9s4n8$b2n$1@smc.vnet.net>

Arkadiusz.Majka at gmail.com wrote: > For plots of two curves > > ListPlot[{curve1, curve2}, Mesh->Full] I get two "dotted" curves of > different colors. When I order to join the points > (dots) : > > ListPlot[{curve1, curve2}, Mesh->Full,Joined->True] > > the color of points become the same. Why? How can I change it? Note that the colors of the /lines/ joining each curves are different. If you want the points to be in different colors, you will have to redraw them according to your own specifications. In the following example, we want to have the points of the second curve plotted in bright orange and to be bigger than the cosine points. curve1 = Table[{x, Cos[x]}, {x, 0, 2 Pi, Pi/24}]; curve2 = Table[{x, Sin[x]}, {x, 0, 2 Pi, Pi/24}]; Show[ListPlot[{curve1, curve2}, Mesh -> Full, Joined -> True], Graphics[{PointSize[Large], Orange, Point@curve2}]] -- Jean-Marc