We’re asking you to select a content label when starting a new topic in the Discussions area. Read more to find out why.
Choose Language Hide Translation Bar
Highlighted
Level I

## two or more x and y graph on one graph

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?

3 REPLIES 3
Highlighted
Super User

## 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
Level I

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

Hi,
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) ?