Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13634 > unrolled thread

Legends for Data Plots

Started by"Kevin J. McCann" <kjm@KevinMcCann.com>
First post2013-02-27 08:03 +0000
Last post2013-02-27 08:03 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Legends for Data Plots "Kevin J. McCann" <kjm@KevinMcCann.com> - 2013-02-27 08:03 +0000

#13634 — Legends for Data Plots

From"Kevin J. McCann" <kjm@KevinMcCann.com>
Date2013-02-27 08:03 +0000
SubjectLegends for Data Plots
Message-ID<kgkel2$4bh$1@smc.vnet.net>
Here is a routine that I go through a lot. Take some data set, do a fit 
or two, then plot the data along with the fit(s). Simple enough to do. 
Now, how can I do a Legend that incorporates both the data (usually 
points) and the fits (usually lines)? I can use PlotLegends to get the 
lines bit, but I usually put the points on the Plot with Epilog.

One thing I thought of was to generate a dense Table of the fitting 
function(s) and then use ListLinePlot along with Legends; however, here 
all works, except the Legends entry for the data is a line and not a 
point even though I used something like Joined->{False,True,True} to put 
points down for the data and lines for the fits.

Thanks,

Kevin

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web