Plot 3d curves at once

hello all together,
is there a way to plot for example 10 3d-curves at once in a 3d graph instead of sequentially?
thanks for the feedback !

Can the data sets not be blended into one?
Thoric (CLA, CLED, CTD and LabVIEW Champion)

Similar Messages

  • Plot multi curves in one window

    Is there anyone who can tell me how to plot multi-curves in one window using LabVIEW? The sample chart is attached. I have LabVIEW 7.1. If you think it is impossible in LabVIEW7.1, can LabVIEW 8.0 do the job?
    Thanks for your help in advance.
    Jane
    Attachments:
    PerformanceCurve.JPG ‏41 KB

    Hi Jane,
    CoastanMaineBird is right about the difference between a "plot", a
    "Graph" and a "window".
    It seems that what you want is a either a Graph or a Chart with multiple plots.
    It's quite simple to do either of these. As said before, refer to the Context
    Help (Ctrl + H) from the block diagram terminal of the Chart or Graph to see
    how to add multiple plots. Here's a screenshot of how you would do it with a
    Chart and a Graph:
    If you want to use different Y-scales for each plot, you need to create multiple
    Y-scales and then specify which plot uses which Y-scale:
    I hope that this is explanation enough to get you started - otherwise, please
    let me know.
    Have fun!
    Message Edited by Philip C. on 11-12-2005 03:46 PM
    - Philip Courtois, Thinkbot Solutions
    Attachments:
    MultiPlot Chart and Graph.PNG ‏6 KB
    Multiple Y-scales.PNG ‏13 KB

  • How do you plot multiple curves on the same graph when using a while loop?

    I am writing a program that will plot the IV Output chracterisitcs curves for a MOSFET transistor. I have two sweep variables Vg and Vd. For each Vg valve selected, Vd is swept from its start to stop voltage creating a graph for that Vg valve. Both of the sweeps are done using while loops. Ideally I would like to display all of the Vg plots on the same graph while having the ability to do real-time graphing. Can anyone help me figure this problem out? I have attached my program. Thanks!!
    Tammy
    Attachments:
    outputfin2.vi ‏165 KB

    Hi Tammy & Tica T,
    As far as I see it - this thread is a very bad version of already existing bad version......
    http://forums.ni.com/ni/board/message?board.id=170&message.id=127857
    I expected, that an Applications Engineer from NI knows something about  a Transistor and how an Output characteristic looks like !!  Take a look to a typical Transistor Datasheet ( e.g. n-channel MOSFET) - you will see, that there is no relation of ID vs Time like in your example ( values vs time )  but  IDrain vs VDrain at different VGate's ( no relation to Mr. Bill Gates ).
    Find attached a vi, that in general does what you need - drawing of  curves vs x-axis (XY-graph in use)  - in test_sweep.zip.  And that you geet an impression, how it might be done ...... dynamic Output characteristic of a Transistor with Standard Equipment of a Lab ( Scope + Generator + Power Supply ) find in addition a Frontpanel - picture. One of the interesting points here is - the self-heating effect; visible on ch3 of scope - 5µs Pulse is already a very long time...... This measurement was done in order to compare with our own Transistors......... 
    Hope this helps a little bit to understand, what we are talking about.
    Regards
    Werner
    Attachments:
    test_sweep.zip ‏358 KB
    dynamic Transistor char.png ‏65 KB

  • Is it possible to plot two curves on the same 3d curve graph?

    Is it possible to plot two or more curves on the same 3d curve graph?
    Thanks

    Yes, just wire different plot numbers to update each curve. All clear?
    LabVIEW Champion . Do more with less code and in less time .

  • Plotting 6 curves in 3 stacked plots?

    I've got some filtered x,y, z coordinate data which I'm currently plotting to a waveform chart with stacked plots. How can I include the unfiltered data on the respective plots? 
    ie. 1 plot displaying x filtered and unfiltered together, y filtered and unfiltered together etc.
    Solved!
    Go to Solution.

    Hey Graham,
    Interesting question!! It has taken me a while to figure it out, but is certainly possible - even if the solution is a bit of a fiddle.
    Please see the attached code. To impliment your functionality, I had to...
    Bundle all plots (in this case 4) in to a single cluster, and send them into a "stacked chart".
    Resize the plot legend to show all 4 plots.
    Right click each item in the legend, navigate to Y-Scale and then select which window you would like to show the plot (1-4)
    This means that 2 of the windows will show 2 plots each, and 2 of the windows will be empty. Unfortunately, I was unable to "hide" a window - so this is where the "fiddle" comes in - I just resized and repositioned each of the "windows" to effectively only show 2 of them in our stacked chart.
    I hope this has been useful Graham,
    Best wishes,
    Rich R
    Applications Engineer
    National Instruments UK & Ireland
    Attachments:
    StackedPlot.vi ‏18 KB

  • How can I plot multiple curves using the XY graph?

    Hai,
    I want to plot  XY graphs for 2 diffrent datas in a single XY graph , to compare both the graphs, how to do. i attached my file & vi
    thanks
    sasi  
    Attachments:
    vi3.zip ‏55 KB

    Okay...so if I descide on rewiring my layout and not saving the entire array, how big is the buffer? because I want to be able to see the whole graph and be able to zoom and return to full view during runtime (possible right now).
    Also, you mentioned I could plot the 2D data directly? without adding timestamps to each Y-value? Will it only buffer one timestamp instead of my solution right now that saves as many timestams as I have channels in an array? Maybe the best would be to keep my value-array and then just add timestamps to the last values and then pass it to the XYgraph? If the buffer can handle that many values that is.
    If I were to abandon buffering the entire array (would be real nice indeed, since it frees up a lot of memory), I then need something to call on excel to import my semicolon separated textfile at the end. (textfile logged separatly) Right now I just call a new sheet and insert my array values.
    (look at last 2 frames of VI)
    Attachments:
    Untitled 11.vi ‏273 KB

  • How many curves can be plot on one 2D graph in DIAdem

    Hi everyone,
    I want to  plot some(360+) curves on one 2D graph.I have results for samples which are measured at different temperatures.I had no problems to plot the curves of all devices for one temperature.But what I noticed when I tried to plot curves of all devices for all temperatures is that it doesn't work.DIAdem (ver.10.2) gives an error if the number of curves is more than 250,how can this be?Is this a program limititaion which can be fixed with a patch or service pack, or I'm doing something wrong? 
    Thanks in advance
    Solved!
    Go to Solution.

    Hello fscommand,
    When you overlay the axis systems, make sure to turn of the colors for the axes, labels and ticks on the 2nd axis system. You can exactly align them in the "position" tab of the "Axis and curve definition" dialog.
    You only need to set this up once for every 250 overlayed curves, so it should be a relatively quick and painless effort.
    Let us know if you have any additional questions,
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

  • Plotting a variable number of curves on different XY Graphs

    Is it possible to plot any number of curves on different XY Graphs?
    In my case, sometimes I need to plot 3 curves, sometimes 4, sometimes 6, etc. Generally, it is between 2 to 6 plots on different XY Graphs.
    How can I go about doing this? 
    What I am thinking so far is to have six XY graphs on the front panel, but somehow programmatically activate the first 2, 3, 4, 5 or however many plots I need to make.
    I am really at a loss here.

    YIKES! Don't make 6 graphs. Just make one graph, and the graph can take an array of clusters, where each cluster element is an array.
    For example, cluster element 1 is the x data array, cluster element 2 is the y data array. Then you build an array of these clusters. See below:
    CLA, LabVIEW Versions 2010-2013
    Attachments:
    graph.png ‏5 KB

  • 2 real-time plots + curve fits on the same x-y graph

    Hello all-
    Per the title, I'm trying to plot two series, both in real time, plus curve fits for each series on the same x-y plot.  Some background on the subject - this will be used to show the temperature distribution across a counter-flow heat exchanger.  So the x-y plot will plot temperature vs. position for two different flow streams - a hot flow stream, and a cold flow stream.  I would like to plot them both on the same graph so the temperature relationship between the two flows can be clearly seen.  If I can plot 2 series with simple lines connecting the points that would be fine, but would prefer some smoothing on the line or using a curve fit if that is possible to do in real time.
    A screen shot of my block diagram is linked below.  As you can see, the diagram is symmetrical with the inputs from the cold flow being processed on the top, and the inputs from the thermocouples in the hot flow being processed at the bottom.  I've got 2 issues:
    1.  Plotting 2 series on the same X-Y graph in real time.  (I've done this before, but never in real time).  Am I correct in assuming, if I append the array so it is a 3-D array (X, Y1, Y2), that I can plot both series on the same X-Y graph?  The individual X-Y graphs are functional, but I would like to combine them.
    2.  I've circled a bundle output which outputs the X,Y values of a curve fit.  The output here is a string (pink wire), so I cannot plot it on the X-Y graphs which are shown, due to it being 2 different data types.  Is there any way to plot the curve fit on the same graph?  Is LabVIEW capable of doing this in real time?
    Thank you for any help...   I realize that some of the answers here may be obvious, but visualizing what's going on in LabVIEW is a bit of a challenge for me, since I'm used to seing text-based code in VBA and MATLAB.
    Attachments:
    HX Block Diagram 2.jpg ‏302 KB

    The output you have circled is a cluster of two 1D arrays, not a string.
    XY graphs take a varirty of inputs (array of points, cluster of x and y arrays, complex arrays, etc.) but you cannot mix datatypes in a single graph. Since you are graphing arrays of points (a point is a cluster of an x and y scalar), you need to do the same for the data you circled. Simplest would probably be to just wrap an autoindexing for loop around the bundle function. See how far you get.
    If you want detailed help, please attach your actual VI. We cannot debug a picture.
    LabVIEW Champion . Do more with less code and in less time .

  • The plotting of a "master" curve from many curves

    I have plotted many curves onto a xy-graph. What I want to do is to construct a master curve from these curves.
    How do I use labview to drag these curves to where I want them to be on the graph and then fit the curves with a polynomial curve (the "master" curve) of my choice?
    Thanks!

    > You are right; I want to drag the curves on the graph so that they can
    > be end to end. Then I want to fit these pieces with a piecewise
    > function of my choice, e.g. a polynomial of order 8 or a tanh
    > function.
    >
    Since the graphs really have to be placed end-to-end, I'd recommend a
    slightly different way of interacting. Assuming that these plots are
    named, pick an initial order -- say alphabetical. Display this in a
    listbox control next to the graph. The listbox is a very easy way to
    have a drag and drop interface, and as the listbox items are dragged
    around, you can read the property for the string items and redraw the
    graph, giving feedback.
    You can place a picture control on top of a graph to get events, or use
    mouse event
    s in 6.1 to directly drag the plots around, but this will be
    tedious. Start with the listbox, and if there is time at the end add
    the graph drag-n-drop as well.
    As for the fit. Look for fitting or regression function in the math
    palette.
    Greg McKaskle

  • XY Graph, 2D Error Bar, Legend, Multi Plot Help? Please modify the VI

    PLEASE READ THE ENTIRE POST and HELP!
    Please help with this VI and make it an instructive example for me and other novices like me who come across this typical example.
    A typical problem in plotting data is as follows: On the SAME plot (Y-axis = Amplitude vs. X-axis = Time), plot the curves Amp1, Amp2, Amp3, ... coming from sample1, sample2, sample3, ...
    Furthermore, there is Error1, Error2, Error3, ... associated with Amp1, Amp2, Amp3,...., which also needs to be plotted. In order to distinguish between these curves, one may use different
    colors and show a legend that reads Amp1 (say black), Amp2 (say red), and Amp3 (say green). The plot then becomes complete and conveys data very conveniently.
    The attached VI makes an attempt to plot Amp1 and Amp2 using XY Graph and also 2D Error Bar plot (to show error bars). There is one slight problem. The legend does not show what it is supposed
    to show. Can someone fix this? If I plot two curves, the legend should show Amp1 and Amp2, if I plot three curves, the legend should show Amp1, Amp2, Amp3, and so on.
    I don't want to see the default Plot 0, Plot 1, or whatever. Also, it would be nice to dynamically control the symbol, color, curve style etc, as we keep adding more and more curves to the plot.
    Once this problem is fixed, I know I can easily extend it to make it plot more than just two curves in a dynamic way. I could use for loops with shift registers, etc to plot any number of curves on a single plot.
    Believe me, I have searched for other posts and cannot find a simple example like the one I have posted here. Many examples I found have confused me more than helped me. 
    I believe that if this problem is solved in a simple way, many others will find this example very instructive. So by helping me, you help many other people as well!
    Thank you in advance. Please see the attached files (the VI, and an example data file that I just created)
    Solved!
    Go to Solution.
    Attachments:
    Multi_Plot_Legend_Error_Bar.vi ‏24 KB
    data.txt ‏2 KB

    Some members have pointed out that this problem has already been resolved (see the link below).
    http://forums.ni.com/t5/LabVIEW/Dinamically-handle-legend-names-using-property-nodes/td-p/1479572
    I did verify that this works for XY Graph, but not for 2D Error Plot.
    I need both legend and error bars. Shame on LabVIEW for not making such a basic plotting requirement easy and trasparent. 
    There are many clever people who can find work arounds, but that is a not a correct approach. 

  • Xy graph multi plots

    Hello,
    I have a need to plot a curve on an X-Y graph which is Voltage (Vsd) vs Current (Isd). After the first plot, I need to set another voltage (Vg) to a new level and repeat the plot. I would like to do this without erasing the original plot so I can generate a family of curves. Currently, I am using one trace on the graph which traces to zero at the beginning of the next plot. I need to create an entirely new plot on the graph instead of the original going to zero at the beginning of each plot. I cannot plot all curves at the same time because the voltage (Vg) level will change with each curve. Any suggestions will be appreciated.
    Thanks,
    Mark

    Maybe I misunderstand the question...
    Multiple plots on the XY-graph, means you need to put them in an array.  If you don't have all the graphs at once, then you could simply build the array dynamically.   I.e. you put the array in a shift register, and add elements (measurements) to it as you go.
    See the attached vi for an example.
    Attachments:
    multi-XYgraph.vi ‏11 KB

  • Hw can we plot a graph from the data given in a flat file

    i need a program that reads a file with 2 columns:
    - time in minutes for the x axis
    - value (e.g. temperature, heart freq.) for the y axis
    Plot the last m minutes, the y axis shall have a range from min...max.
    Start with parameter values m=5, speed s=1, min=20, max=120.
    After m=5 minutes, the graphical display shall plot the curve of the
    last 5 minutes. In other words, you have to implement a sliding window
    with a 5 minute history
    The speed s is useful for testing, 1=real time, 10=10 times faster.
    To implement the real time behaviour, you have to let the program wait the
    time interval between two values. The time interval is not constant.
    A sample file looks like this (lines 1..3 are always comments):
    -------8<-------cut-here-------8<-------
    Logfile of program temperature_monitor.cpp
    Temp sensor #42, range 30..60 degrees Celsius
    2007-06-21 20:30
    0.017737 45.2
    0.045122 42.7
    0.073591 43.1
    -------8<-------cut-here-------8<-------
    You can download the test data file here:
    http://alf42.dyndns.org/oost/temp_testdata_2007-06-21
    An axample how the output can look like is here:
    http://alf42.dyndns.org/oost/temperature_diagram_example.gif

    hi
    i have tried the code for it and i am getting the
    barcharts but not the graph as the output
    Your code is rubbish. You also did not use code tags. But let's examine the rubbish points shall we?
    import java.awt.*;
    import javax.servlet.*;There is no need for you to import servlet here. Especially as this later appears to be an applet.
    import java.lang.*;Importing java.lang is redundant.
    import java.applet.*;
    public class classfile{This is a poorly named class for several reasons. One it does not follow conventions, class names should begin with a capital letter. Two classfile is just a stupid name.
    Also your class should most likely extend applet if indeed you mean to write an applet. This is probably pointless because you probably don't mean to write an applet, it's just that you have no clue.
    >
    int n=0;
    String lable[];
    int value[];
    blic void init()
    try{
    n= Integer.parseInt(getParameter("column"));n is pointless since everything is hardcoded anyways for four elements
    lable = new String[n] ;
    value=new int[n];
    lable[0]=getParameter("lable11");
    lable[1]=getParameter("lable12");
    lable[2]=getParameter("lable13");
    lable[3]=getParameter("lable14");
    value[0]=Integer.parseInt(getParamater("c1"));
    value[1]=Integer.parseInt(getParamater("c2"));
    value[2]=Integer.parseInt(getParamater("c3"));
    value[3]=Integer.parseInt(getParamater("c4"));
    catch(NullFormatException e )This is garbage.
    System.out.println("Null format Exception");
    public void pain(Graphics g)While I am forced to agree with the sentiment here the correct name for this method is paint.
    for(int i=0;i<n;i++)
    g.steColor(color.red);That is garbage for a variety of reasons.
    g.drawString(lable, 20, i*50+30);
    g.fillRect(50, i*50+20, value[i], 40);
    So try again. Maybe learn some Java first? Just a suggestion.

  • Xy graph with dynamic number of plots

    I've got an XY Graph with some dynamic number of plots to graph. Once I know this number, I change the LegPlots property and plot the data from an array containing all the plots. The data is displayed correctly, but I get overlapping colors. Say I'm only trying to graph 3 plots. I get three lines (good) but then the three lines have 29 colors (bad), as if it's plotting all possible plots at the data points of the three. The legend updates to only show three (good), but am I missing something else? Does the LegPlot property not govern that, but only governs the legend itself?

    If the problem is the code then I'll take a look at my mess of wire, I just wanted to see if it was the LegPlots property first.
    Here's what it looks like, just in case
    Attachments:
    toomanycolors1.JPG ‏25 KB

  • XY Graph overlay multi plot with different colors

    Hi,
    I want to do a cyclic X-Y plot in a for loop and plot the graph for each cycle in different colors.
    I want a plot like XYgraph2 but with different colors and probably even without that tracing line. How do i modify my diagram?
    Thank you for your time and efforts.
    SUCHIT
    Suchit Shah
    Graduate Student
    Electrical & Computer Engineering,
    Northeastern University,
    BOSTON
    MA 02115
    Certified LabVIEW Associate Developer
    Solved!
    Go to Solution.
    Attachments:
    block dia.JPG ‏45 KB
    front dia.JPG ‏122 KB

    Hi all! This is my first post
    My name is Francesco and I'm programming a keithley for measure some FET
    using labview 8.6. I plot my output data on a XY graph but I have several curves,
    one for each value of Vgs. Looking in your forum I've found the code
    MultiplePlots.vi (21 kb) posted by Darin.K about a month ago that use Multiple
    plots and it is perfect for my goal because with this I can plot every curve with a
    different color. The only problem is that I like to plot my data in real time.
    The code, however, use a Loop with N=50, accumulates the values on the edge
    and plot at the end of the Loop the entire line.
    My question is if someone can explain me how to modify the code to plot the line
    point by point, so in real time and not at the end o the loop because I need to see
    the current values during the measurement and not only at the end.
    I think that I need to move the XYgraph inside the loop. I try but without lucky.
    Can anyone help me?
    thanks and sorry for my very bad english.
         Francesco

Maybe you are looking for

  • HT1420 How to authorize an old purchase on a new ID, but do not have old ID information.

    What if you bought music/videos/games on one ID that you no longer use and don't have to account information anymore, BUT you want to authorize those items bought on old ID on your new ID. How you one do that? About four years ago my old laptop crash

  • New MacBook Pro, fan goes crazy on iPhoto screen saver

    I just got a new 15in MacBook Pro (running Lion of course) with the following specs:    - 8 gigs RAM    - 2.2 GHz    - 500 gig 7200 hard drive I had my screen saver set to cycle randomly through 350 pictures from my wedding. Within 1 minute of the sc

  • PO change after Release

    Dear All, One our client wants after release of the PO (we have only 1 level), system should not allow to chage the PO.will it possible? Regards venu gopal

  • I just started doing illustrator tutorials. please help me with feedback :)

    Hey guys, i just started doing tutorials and i need your feedback to improve. i would like to know what you think of my first video. I would really appreciate it How To Save Artwork In Adobe Illustrator - YouTube

  • Connecting DTT 3500 to Audigy 2

    HI there, Hope someone can help cos I'm going mad! I am trying to connect my Audigy 2 to my DTT3500 speakers. For a long time I have had them conected to my DVD player and as a result have lost the pc adaptor cable that came with the speakers. So, I