cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar

How to create Layers in Graph Builder

Hey,

 

I have three sets of x and y (x1,x2,x3,y1,y2,y3) Data and would like to combine them into one Graph. When I tried using Graph Builder, I could generate a graph for x1, y1,y2,y3.  But then the Data is not displayed correctly, hence each pair of data must be combined with its x value. 

 

In origin I can use Layers to combine these three sets of data, is there a way to do it in JMP as well?

Thx

Es ist ein großer Vorteil im Leben, die Fehler, aus denen man lernen kann, möglichst früh zu begehen.

-Winston Churchill
1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: How to create Layers in Graph Builder

I do not know the structure of your data.  Assuming it looks like

txnelson_0-1662213037515.png

You can stack the data and create a table that looks like

txnelson_1-1662213109833.png

From there you can easily create a multiple X Y chart with 3 layers(Overlays)

txnelson_2-1662213256517.png

 

 

Jim

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: How to create Layers in Graph Builder

I do not know the structure of your data.  Assuming it looks like

txnelson_0-1662213037515.png

You can stack the data and create a table that looks like

txnelson_1-1662213109833.png

From there you can easily create a multiple X Y chart with 3 layers(Overlays)

txnelson_2-1662213256517.png

 

 

Jim
hogi
Level XII

Re: How to create Layers in Graph Builder

If you just want to take a quick look at the two curves in a combined plot - and don't want to change your table structure for it, you can copy/paste the frame content:
Using JSL to copy the frame contents of one graph to a different graph? 

It even works if the data comes from different data tables.

 

The huge disadvantage of this approach:
When you save the plot or the plot script, it will just save the original plot without the pasted content:
copied frame content disappears when reopening graph or JMP datatable 

 

HolgerSp_2-1662613779071.png                     HolgerSp_3-1662613850867.png