06-18-2015 01:11 PM
I have a datafile that has multiple channels. I want to be able to plot all the values of two channels and also plot sections of the same two channels based on the value of a third channel. I can make different channels to section the file which is time consuming. Is there a more efficient way to do this and plot sections of a file instead of all the data?
Thanks
Shevon
06-19-2015 09:02 AM
Hi Shevon,
You can always plot a particular X1 - X2 range on the x axis, so in that case you just need to know the row range or x value range that corresponds to that 3rd channel's value. The only other option is to carve out that row range and save it to a new XY channel pair, typically in a new group. Are you struggling to get the row ranges, to set X1 - X2 graph x axis range, or to carve out the rows range into new channels?
Brad Turpin
DIAdem Product Support Engineer
National Instruments
06-19-2015 09:36 AM
Hi Brad,
I believe what I'm looking for is a way to plot a particular X1-X2 range. I would also want to plot multiple sections of the 'X' range on the same graph. I have attached an excel file with sample data showing what I'm trying to do with more detail.
Thanks
Shevon
06-23-2015 12:16 PM
@shevonv wrote:
Hi Brad,
I believe what I'm looking for is a way to plot a particular X1-X2 range. I would also want to plot multiple sections of the 'X' range on the same graph. I have attached an excel file with sample data showing what I'm trying to do with more detail.
Thanks
Shevon
I TOTALLY second this need/request by Shevon.
My solution has to be dynamic, I've got a dozen charts and the size of data changes every time.
The graphing packages out there like Tablaeu do a great job of "group" splitting for graphing. Would be great for Diadem to support this natively. Those package suck on scientific analytics.
Anyways, back on track...I tried recording a script of how to do this manually, then I could build loops, but alas, the script routine doesn't capture the curve selection properly (in View) so I'd have to do this from scratch, UGH. Don't have time for that today.
06-26-2015 11:14 PM
Hi shevonv,
I'd say you have two options. You can break out those row ranges into multiple groups of 2 channels each, one group for each distinct channel3 value, OR you could plot your markers on a 3D graph with surface type "Points", rotated to show only the XY plane, then use the "Palette..." color to pick the color ranges to match the distinct values in channel3.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
08-29-2017 10:01 AM
How do I start the example? The script loaded, but no other prompt occurred.