turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

- Home
- /
- SAS Programming
- /
- SAS Procedures
- /
- How to do overlay for a lot of plots

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

08-10-2009 12:09 PM

Hi everyone,

To make it simpler,

I have a data set, has variables:

x, y1, y2, y3, ...........y50;

I want to plot

y1*x, y2*x, y3*x...............y500*x / overlay,

Is there any simpler way for this??

Thanks!!

Ken

----------------------------------

The following is the previous post

----------------------------------

Is it possible to overlay plots from different datasets (without merging)?

I have more than 500 plots need to be displayed on one graph, so I can not do this one by one.

Any suggestions? Thanks a lot!!

Ken

Message was edited by: Ken_oy

Message was edited by: Ken_oy Message was edited by: Ken_oy

To make it simpler,

I have a data set, has variables:

x, y1, y2, y3, ...........y50;

I want to plot

y1*x, y2*x, y3*x...............y500*x / overlay,

Is there any simpler way for this??

Thanks!!

Ken

----------------------------------

The following is the previous post

----------------------------------

Is it possible to overlay plots from different datasets (without merging)?

I have more than 500 plots need to be displayed on one graph, so I can not do this one by one.

Any suggestions? Thanks a lot!!

Ken

Message was edited by: Ken_oy

Message was edited by: Ken_oy Message was edited by: Ken_oy

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

08-10-2009 02:43 PM

or can I add plot to another plot? without removing the original plots.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

08-10-2009 03:13 PM

To make it simpler,

I have a data set, has variables:

x, y1, y2, y3, ...........y50;

I want to plot

y1*x, y2*x, y3*x...............y500*x / overlay,

Is there any simpler way for this??

Thanks!!

Ken

I have a data set, has variables:

x, y1, y2, y3, ...........y50;

I want to plot

y1*x, y2*x, y3*x...............y500*x / overlay,

Is there any simpler way for this??

Thanks!!

Ken

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

08-10-2009 04:17 PM

Without giving away any confidential information, I think you need to describe what you are trying to achieve with the graph. I can't imagine that a graph which encompasses an overlay of 500 variables will be comprehensible.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

08-10-2009 04:22 PM

yes, it may be messy.

All 500 plots are from 500 different measurements. If I plot all of them together, maybe I can find something useful

Thank you!

All 500 plots are from 500 different measurements. If I plot all of them together, maybe I can find something useful

Thank you!

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

08-10-2009 04:31 PM

Do you just have a total of 500 measurements (but stored in separate variables)? Or, do you have 500*N observations (where N may vary, but is the number of observations per variable)?

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

08-10-2009 04:46 PM

yes, I have that.

And I also have separate data sets for all 500 measurements also.

Any suggestions? I just want to know how to do that in a easier way.

Thanks!!

And I also have separate data sets for all 500 measurements also.

Any suggestions? I just want to know how to do that in a easier way.

Thanks!!

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

08-10-2009 04:49 PM

Uh, that was an "or". I don't know what your "yes" refers to!

To recap: do you have a**total** of 500 measurements, but they are stored in separate variables in separate data sets?

Or, if you have something else, explain what the exact structure looks like.

To recap: do you have a

Or, if you have something else, explain what the exact structure looks like.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

08-10-2009 05:12 PM

Sorry to make you confusing.

First: I DO have a total of 500 measurements, but they are stored in separate variables in separate data sets

Second: To make it simpler, I merge all the dataset1 (x, y1), data set2 (x, y2)...... data set500(x, y500) to one dataset also.

Any help?

Thanks!

Ken

First: I DO have a total of 500 measurements, but they are stored in separate variables in separate data sets

Second: To make it simpler, I merge all the dataset1 (x, y1), data set2 (x, y2)...... data set500(x, y500) to one dataset also.

Any help?

Thanks!

Ken

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

08-11-2009 07:01 AM

Ken,

Why don't you simply SET them together? Then, you could do:

PLOT Y*X

Why don't you simply SET them together? Then, you could do:

PLOT Y*X