Turn on suggestions

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

Showing results for

- JMP User Community
- :
- Discussions
- :
- two or more x and y graph on one graph

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

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

two or more x and y graph on one graph

Dec 11, 2016 8:59 AM
(4400 views)

Hello,

I have two series of x and y points.

For example: first series : x1=[1,2,3],y1=[0.9,0.7,0.6]

Secend: x2=[3.5,6.7,4.3],y2=[1,2,3]

Is it possibale to put them on the same graph? meaning I'll have one graph with both x1 vs y1 and x2 vs y2, but without x1 vs y2 and x2 vs y1?

Thank you in advance

3 REPLIES 3

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: two or more x and y graph on one graph

The simple solution is to

Tables==>Stack

your x and y cols into 2 columns and then use Graph Builder dragging the x stacked col to the x drop area and the y to the y drop area. Then drag the "Label" col from the stack to the Group X or Y area

Or if you drag the label to the overlay area it will differentiate the values by color

Jim

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: two or more x and y graph on one graph

Thank you for the response.

About your 'differentiate the values by color'; what if I have more then one vairable effecting the data? is there a way to difinite the data acording 2 those vairable, without spliting them into groups (so they could be on the same chart) ?

Thank you in advance

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: two or more x and y graph on one graph

I would just create a new column which is a composite of the two columns in question and then use that column as the onerlay or color column

Jim