LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

group bar graph

Hello

Is there a simple method to display data on bar graph where various Y-values for given X are staying like neighbors

but not like one Y above another Y (I've seen on http://forums.ni.com/ni/board/message?board.id=170&message.id=315293&query.id=2383347#M315293) ?

 

I made a lot of manipulation on set up on a legend (Common plots, etc) without success.

The only idea I have is to artificially offset X for all Y-values like this (X11,Y1), (X12, Y2) etc... and then plot it.

I'm sure there is a easier way to get my expectation.

 

I enclose a simple view how I want to get.

 

Best regards

Konrad

0 Kudos
Message 1 of 7
(3,867 Views)
0 Kudos
Message 2 of 7
(3,856 Views)

hi cknio,

  Use the bar command and give your two dimensional array as input and specify the bar plot width....

  Just  try it.

 

Thanks and regards,

srikrishnaNF

 

Regards,
Srikrishna


0 Kudos
Message 3 of 7
(3,841 Views)

srikrishnaNF

What you mean bar plot width or where to find it ?

I have LB 8.5.1, there is only Line Width for given plot and bar style ?

I can modyfie bars only in simple way as I showed below in the file, but this is not what i expect.

It is easy and first bar graph in Exel.

 

KNRD

0 Kudos
Message 4 of 7
(3,827 Views)

A different view

 

graph.JPG

Message 5 of 7
(3,817 Views)

Take a look on jpg on the top of this discussion. There is Exel view with bar graph a want to obtain.

 KNRD

0 Kudos
Message 6 of 7
(3,803 Views)

hi ckonio

  the particular bar command is a matlab command will be present in mathscript node..so please put a mathscript node and write the bar command ,adjjust the bar plot width and pass the two dimensional aray as input.

 

 

Thanks and regards,

srikrishnaNF

Message Edited by srikrishnaNF on 05-20-2010 08:50 AM
Regards,
Srikrishna


0 Kudos
Message 7 of 7
(3,791 Views)