MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: enter specific symbols for ListPlot usage

  • To: mathgroup at smc.vnet.net
  • Subject: [mg109919] Re: enter specific symbols for ListPlot usage
  • From: "Yasvir Tesiram, PhD" <Yasvir-Tesiram at omrf.org>
  • Date: Sat, 22 May 2010 00:44:06 -0400 (EDT)

G'day,
Below is an example that you could use as a template. I agree, it's a
little cumbersome to type all these things, (you should see my keyboard
graveyard!). But ultimately, I think that there is great flexibility in
Mathematica plotting, once all the little things like Directives, Style,
are learnt.


d1 == Table[i, {i, 1, 10, 1.0}]
d2 == Table[20*Exp[i], {i, 0.0, 1.0, 1.0/9}]


ListPlot[{d1, d2}, PlotMarkers -> {Style["\!\(\*
StyleBox[\"\[FreakedSmiley]\",\nFontSize->18]\)", Bold], Style["\!\(\*
StyleBox[\"\[Euro]\",\nFontSize->18]\)", Black]}, Joined -> True,
 PlotStyle -> {Directive[Blue], Directive[Yellow]},
 GridLines -> Automatic,
 GridLinesStyle -> Directive[Dashed],
 FrameStyle -> {Directive[Green, 14, Bold],
   Directive[Black, 14, Bold], Directive[Green, 14, Bold],
   Directive[Blue, 14, Bold]},
 PlotLabel ->
  Text[Style["EURO VERSUS GREEK COFFEE", 20, FontFamily -> "Arial"]],
 FrameLabel -> {Text[
    Style["Post Recovery", Green, 18, FontFamily -> Symbol]],
   Text[Style["Cost Value (\[Euro])", Bold, Black, 18]],
   Text[Style["", Black, 18]],
   Text[Style["Production Value", Blue, Bold, 18]]},
 Epilog -> Inset[Column[
    {Style["\[Euro]  Cost", 20, Black],
     Style["\[FreakedSmiley]  Production", 20]}, Background -> White,
    Frame -> True
    ], {8, 25}
  
   ],
 Frame -> True,
 Axes -> False,
 ImageSize -> 500

 ]


Cheers,
Yas



-----Original Message-----
From: Alessandro [mailto:alexxx.magni at gmail.com]
Sent: Friday, May 21, 2010 5:47 AM
To: mathgroup at smc.vnet.net
Subject: [mg109919] [mg109892] enter specific symbols for ListPlot usage


I guess this is fairly simple to answer, but I've almost thrown the
keyboard against the wall after struggling with it - so bear with
me...

I need to produce an article-quality plot of some sets of data, so I
prefer to choose the color/symbols used.
Therefore, instead of the usual PlotMarkers -> Automatic, I tried to
use something along the lines of PlotMarkers -> {"a","b","c","d"}
where "a" etc. stand for a copy/paste from the help system of the
special characters under:ShapesIconsAndRelatedCharacters.

I tried the backslash notation. I tried using doublequotes and not
using them.

What I obtained is a wild variety of plots, not one of them correct.
And I did not even try yet to change the symbols colors!
Surely such a basic feature should be easier to obtain - so how do you
fine-tunes your data plots???


thank you!


alessandro


  • Prev by Date: Re: combining ArrayPlot with ListLinePlot
  • Next by Date: Re: Read/Write streams in parallel
  • Previous by thread: Re: enter specific symbols for ListPlot usage
  • Next by thread: Intersection of sublists on date and making a 2D list from a 3D one