Prev: Forcing mathematica to output a certain form
Next: ReplaceRepeated in case of non ordered expressions
From: cool-RR on 7 Mar 2010 05:13 I'm making a ListPlot and I'm trying to use the PlotMarkers option. I see that there are a few nice examples of markers in the docs: http://reference.wolfram.com/mathematica/ref/PlotMarkers.html But there is no mention of where I can see all the markers and choose from. I'd want an elongated marker, something like an ellipse. Also, can I use a horizontal line as my marker? I want to mark the average of the list as a horizontal line in the plot. (All list items have x=0.) I hope someone can suggest a way to do these things. Thanks for your time, Ram Rachum.
From: Sjoerd C. de Vries on 8 Mar 2010 06:12 You can use any kind of graphic or symbol as plot marker. Just genereate them with the Mathematica drawing tools (see Graphics menu) and copy them in the PlotMarkers option. For the horizontal line you could use the minus sign, the Dash or LongDash characters or a drawn horizontal line in a graphic. Copying graphics from an outside source should also be possible. If you want to see what automatic markers are avaible try something like ListPlot[Table[{i, i + 1, i + 2}, {i, 20}], PlotMarkers -> Automatic] Cheers -- Sjoerd On Mar 7, 12:13 pm, cool-RR <ram.rac...(a)gmail.com> wrote: > I'm making a ListPlot and I'm trying to use the PlotMarkers option. I > see that there are a few nice examples of markers in the docs: > > http://reference.wolfram.com/mathematica/ref/PlotMarkers.html > > But there is no mention of where I can see all the markers and choose > from. I'd want an elongated marker, something like an ellipse. > > Also, can I use a horizontal line as my marker? I want to mark the > average of the list as a horizontal line in the plot. (All list items > have x=0.) > > I hope someone can suggest a way to do these things. > > Thanks for your time, > Ram Rachum.
From: cool-RR on 8 Mar 2010 06:14 On Mar 7, 12:13 pm, cool-RR <ram.rac...(a)gmail.com> wrote: > I'm making a ListPlot and I'm trying to use the PlotMarkers option. I > see that there are a few nice examples of markers in the docs: > > http://reference.wolfram.com/mathematica/ref/PlotMarkers.html > > But there is no mention of where I can see all the markers and choose > from. I'd want an elongated marker, something like an ellipse. > > Also, can I use a horizontal line as my marker? I want to mark the > average of the list as a horizontal line in the plot. (All list items > have x=0.) > > I hope someone can suggest a way to do these things. > > Thanks for your time, > Ram Rachum. I already figured it out myself, thanks. Ram.
From: cool-RR on 9 Mar 2010 06:18
On Mar 8, 1:14 pm, cool-RR <ram.rac...(a)gmail.com> wrote: > On Mar 7, 12:13 pm, cool-RR <ram.rac...(a)gmail.com> wrote: > > > > > > > I'm making a ListPlot and I'm trying to use the PlotMarkers option. I > > see that there are a few nice examples of markers in the docs: > > >http://reference.wolfram.com/mathematica/ref/PlotMarkers.html > > > But there is no mention of where I can see all the markers and choose > > from. I'd want an elongated marker, something like an ellipse. > > > Also, can I use a horizontal line as my marker? I want to mark the > > average of the list as a horizontal line in the plot. (All list items > > have x=0.) > > > I hope someone can suggest a way to do these things. > > > Thanks for your time, > > Ram Rachum. > > I already figured it out myself, thanks. > > Ram. Thanks again to everyone for your overwhelming help on this. Ram. |