Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Single Trendline for multiple datasets
Replies: 2   Last Post: Jan 23, 2013 3:55 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 8,982
Registered: 6/7/07
Re: Single Trendline for multiple datasets
Posted: Jan 23, 2013 3:55 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 1/23/2013 2:24 PM, Charlotte wrote:
> I have a plot with multiple datasets plotted, and would like to plot on
> top a single trendline for all the datasets - is there an easy way to do
> this?

Do you have the Statistics Toolbox by any chance?

If so, assemble the data as Tideman shows, plot and call lsline. Then,
set the dataset for the total group to [] to leave the individual plots
(or set the color to background to make invisible).


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.