MathGroup Archive 1997

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

Search the Archive

Re: [Q] gnuplot features in Mathematica 3.x

  • To: mathgroup at smc.vnet.net
  • Subject: [mg9643] Re: [Q] gnuplot features in Mathematica 3.x
  • From: Kevin Gross <kc144 at sprynet.com>
  • Date: Mon, 17 Nov 1997 19:49:53 -0500
  • Organization: Sprynet News Service
  • Sender: owner-wri-mathgroup at wolfram.com

Leonid Razoumov wrote:
> 
> Hi Everyone,
> 
> there are two nice GNUplot features which I miss in Mathematica.
> 
> 1). Gnuplot allows to combine different line-styles with different
>     point-styles, thus making a large number of distinct line-styles
>     available for several curves on one plot. E.g. --x---x---x---x
>     is a style made of a line ------ and points "x   x   x".
> 
> 2). For each curve on a plot GNUplot puts in the upper right corner a
>     label of the form "---- name",  where "----" is a sample of actual
>     line style  the reffered curve and "name" is a user-defined tag.
> 
> I am not yet very experienced with Mathematica, therefore I hope there
> is a way in Mathematica 3.0 to achieve the same effects but I do not
> know how.
> 
> Any suggestions/tips/recommendations are HIGHLY appreciated.
> 
> Thank you in advance for your time,
> Leo


1)  If you are plotting your own data, i.e. not plotting functions using
Plot[], <<Graphics`MultipleListPlot works great.  There are many
options that allow customization in symbols and line dashing.  If you
are plotting using the Plot[] command, things are a bit more tricky. 
Can accomplish this using PlotStyle to generate different line
thicknesses, line colors, and line dashing.  Not sure about
incorporating other shapes such as "--x--x--x--".

2)  I had some success using the   <<Graphics`Legend   package.  See
Mathematica 3.0 Standard Add-on Packages book.  Seem to remember that
the legend created kept track of the specific dashing of each line on
the plot but did not keep track of different colored lines.  Didn't
seem to keep track of line thicknesses either.


Hope this helps,

Kevin Gross


  • Prev by Date: Re: Customizing output format
  • Next by Date: Need help to a beginner.
  • Previous by thread: Re: [Q] gnuplot features in Mathematica 3.x
  • Next by thread: How to solve 2D geometry problem in Mathematica