Re: Usage of SymbolLabel option in MultipleListPlot
- To: mathgroup at smc.vnet.net
- Subject: [mg25504] Re: [mg25480] Usage of SymbolLabel option in MultipleListPlot
- From: Matt.Johnson at autolivasp.com
- Date: Thu, 5 Oct 2000 23:50:23 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Pedro- I don't know if there is a "proper" way, but this way gets the job done. I think the problem with your input is that SymbolLabel->{"m=0", etc.} needs to be a list of lists, i.e. SymbolLabel->{{"m=0", etc}}. This is because symbol labels for each plot must be able to be specified. In[55]:= Needs["Graphics`MultipleListPlot`"]; data = Table[{x, Sin[x]}, {x, 0, 9}]; In[57]:= labels = Table[StringForm["m=``", i], {i, 0, 9}] Out[57]= {"m=\!\(0\)", "m=\!\(1\)", "m=\!\(2\)", "m=\!\(3\)", "m=\!\(4\)", \ "m=\!\(5\)", "m=\!\(6\)", "m=\!\(7\)", "m=\!\(8\)", "m=\!\(9\)"} In[59]:= MultipleListPlot[data, SymbolLabel -> {labels}, PlotRange -> All]; -matt Pedro Serrao <pserrao at dem.ist.utl.pt> on 10/02/2000 08:26:58 PM cc: Subject: [mg25504] [mg25480] Usage of SymbolLabel option in MultipleListPlot Hello It's my intention to plot 10 points in x-y coordinates specifying a different label for each point. For instance Point 1 should be labeled m=0, Point 2 should be labeled m=1 and so on. However when I evaluate the following instruction all points are labeled with the same string m=0. MultipleListPlot[Table[klist[i], {i, 10}], PlotRange -> All, SymbolShape -> {PlotSymbol[Box], Label}, SymbolLabel -> {"m=0", "m=1", "m=2", "m=3", "m=4", "m=5", "m=6", "m=7", "m=8", "m=9"}, Frame -> True, FrameLabel -> {"Re(k)", "Im(k)"}]; What is the proper way to specify differenf labels for each point? Thanks in advance for help Regards