Sign in to follow this  
Rahul Kumar

Binary line graph - can not figure out how to have two values on the Binary line graph - can not figure out how to have two values on the same x value but different y values

Recommended Posts

Binary line graph - can not figure out how to have two values on the same x value but different y values

 

 

 

Hi there,

 

 

 

I am new to this, I am trying to plot the following:

 

 

 

x= 0 1 1 2 2 3..

 

y= 0 0 1 1 0 0..

 

 

 

Please see attachment for illustration

 

 

 

Does anyone know how to plot in a fashion like the first one???

 

 

 

Many thanks in advance.

post-2667-128441567322_thumb.png

Edited by Guest

Share this post


Link to post
Share on other sites

Hi,

Please try the XML below with a Scatter chart:

<chart yAxisMinValue='-1' xAxisMaxValue='5' zeroplaneAlpha='0'>

<categories>

<category label='0' x='0' />

<category label='1' x='1' />

<category label='2' x='2' />

<category label='3' x='3' />

<category label='4' x='4' />

<category label='5' x='5' />

</categories>

<dataSet drawLine ='1' seriesName='Outpur' drawAnchors='0'>

<set y='0' x='0' />

<set y='0' x='1' />

<set y='1' x='1' />

<set y='1' x='2' />

<set y='0' x='2' />

<set y='0' x='3' />

<set y='1' x='3' />

<set y='1' x='4' />

<set y='0' x='4' />

<set y='0' x='5' />

</dataSet>

</chart>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this