Re: SymbolShape
- To: mathgroup at smc.vnet.net
- Subject: [mg52916] Re: [mg52853] SymbolShape
- From: "David Annetts" <davidannetts at ihug.com.au>
- Date: Thu, 16 Dec 2004 03:42:00 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Hi Naima > I need to know how I can change the shape of the points (to box or > triangle) when I use LogListPlot ? > for example : > > > > In[1]:= > << Graphics`Graphics` > In[2]:= > points1 = {{9 + 273, 0.012}, {11 + 273, 0.016}, {12 + 273, > 0.15}, {13 + 273, 0.32}, {15 + 273, 0.3}, {18 + 273, 0.195}, > {20 + 273, 0.098}, {22 + 273, 0.055}, {25 + 273, 0.02}, {30 + > 273, 0.017}}; In[4]:= > a11 = LogListPlot[points1, PlotStyle -> {PointSize[0.02], > Hue[.6]}, GridLines -> None, PlotRange -> All]; Graphics`MultipleListPlot can do the job, though there are other solutions .... MultipleListPlot[{{#[[1]], Log[10, #[[2]]]} & /@ points1}, PlotStyle -> {Hue[.6]}, SymbolStyle -> {Hue[.6]}, SymbolShape -> {PlotSymbol[Box, Filled -> False]}, FrameTicks -> {Automatic, LogScale, None, None} ]; MultipleListPlot[{{#[[1]], Log[10, #[[2]]]} & /@ points1}, PlotStyle -> {Hue[.6]}, SymbolStyle -> {Hue[.6]}, SymbolShape -> {PlotSymbol[Triangle, 8, Filled -> True]}, FrameTicks -> {Automatic, LogScale, None, None} ]; Regards, Dave. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.5.3 - Release Date: 14/12/2004