Graphes déroulants empilés (stacked plots)

Bonjour,
J'aimerais savoir s'il existe un moyen de faire un graphe déroulant
"empilé" (chaque graphe possédant sa propre origine et échelle en y),
mais dont les zones de tracés ne sont pas séparées. Ceci équivaut à un graphe
déroulant (multi-trace) superposé, mais dont chaque trace à sa propre origine.
En vous remerciant d'avance,
Respectueuses salutations,
PS: Ci-joint une tentative d'illustration...
Résolu !
Accéder à la solution.
Pièces jointes :
Illustration.pdf ‏48 KB

On peut avoir deux échelles pour un même graphe (par exemple une a gauche et une a droite mais les graphes sont sur le même repère. cela répondrait à votre problème?
Rodéric L
Certified LabVIEW Architect

Similar Messages

  • Afficher les curseurs sur un graphe déroulant empiler

    Bonjour,
    Comment faire pour visualiser les coordonnées XY a partir d'un graphe déroulant dont les courbes sont empilées?
    Remarque : sur un graphe déroulant avec des courbes empilées, il semble impossible d'avoir des curseur par contre sur un graphe, on peut avoir des curseurs mais pas empiler les courbes.

    Bonjour,
    Je t'envoie une solution alternative dans laquelle j'affiche les courbes dans deux graphes différents et je lie par programmation les coordonnées des curseurs de chaque grahe.
    J'ai également trouvé un exemple qui montre comment enregistrer l''image d'un graphe.
    En t'inspirant de ces deux exemples, tu devrais pouvoir réussir à obtenir ce que tu veux.
    Johan G.
    NIF
    .NIDays2008 {font-family:Arial, Helvetica, sans-serif; font-size:12px; color: #065fa3; font-weight: bold; text-decoration: none; text-align: right;} .NIDays2008 a, a:hover {text-decoration: none;} .NIDays2008 a img {height: 0; width: 0; border-width: 0;} .NIDays2008 a:hover img {position: absolute; height: 90px; width: 728px; margin-left: -728px; margin-top:-12px;}
    >> Avez-vous entendu parler de NI Days ?
    Attachments:
    Programmatically_Saving_Your_Waveform_Graph_with_Image_and_Color_Options.vi ‏72 KB
    Curseur.vi ‏25 KB

  • How do you create stacked plots?

    Okay, I have tried for quite some time today to create a stacked plot, but without any success.  I want to be able to put in a max and min range for the x-axis on the front panel.  This x-axis will be used for three different y-axis.  Each y-axis will have a different scale than the other ones.  Also, each y-axis will have up to 6 different plots.  I have attached an example of what I hope the final chart/graph/plot will look like.  I have tried combining the x-axis values with the different y-axis values in an array (2D) and then plotting them but nothing seems to work right.
    Attachments:
    C-1650 - 4610 Q-SERIES pressure.pdf ‏24 KB

    Never had much success getting what I consider "publication quality" graphs out of LV, but that is not what it was built for.  It has a great looking GUI and the flexibility to get your data into a program to suit your needs.  Doesn't mean that there aren't some features we'd like to see added, especially when it comes to axes and labelling.  My advice to you is the following:
    1. take a deep breath and decide if this is something you really want to do.
    2.  perhaps try an in-between solution like stripping down the plots and stacking three XY graphs on top of each other.  You can programatically control the scales.  You won't have overlap of the plots like you show, and all of the labels will be on the left.
    3.  Try a standard XY graph and fudge the labels using Ben's very elegant trick. Ben is the go-to-guy (IMO) for picture control questions
    4.  Explore the Picture VIs to generate plots piece-by-piece.  You are in for a lot of work, but it is the only LV-only solution I know to get the results you are looking for.  (Perhaps there are new and exciting features in LV2009 that someone will enlighten us with).
    5.  Do what I do.  I use a MathLink connection to Mathematica when I need plots that I can't get easily in LV.  You can retrieve the graphics object and display it in a container or a picture control.  I use a picture control because the container seems to unload the image when I stop the VI.  If you don't have Mathematica, or similar program, sorry.
    Message Edited by Darin.K on 08-17-2009 07:41 PM

  • Stacked Plots Question

    I'm working on a project based on the Continuous Data Acquisition
    sample that shipped with Labview 7. My problem is that when I try to
    plot multiple channels of data using the "Stacked Plot" property of
    the Waveform Chart, I still get overlaid plots. The input to the graph
    is the 2D array created by the example. Is there any way to get a
    stacked plot here?
    Many Thanks!
    Dan

    You might need to convert the array to cluster before feeding in to the chart... here is example for 1D stack plot
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com
    Attachments:
    StackPLot.vi ‏58 KB

  • Change properties inside dynamic stack plots

    Is there any way in LabView 8.2 now to change the properties of indicators inside an array or cluster?  I want to change the properties of the waveforms inside DynamicStackPlots (http://zone.ni.com/devzone/cda/epd/p/id/3024).  I see on this forum back in 2005 this was last discussed.  I have also tried making a cluster of waveforms (instead of an array of clusters) from which you can at least separately access properties (allowing you to make specific waveforms not visible, yielding dynamic stack plot functionality).  But you STILL cannot modify, say, the plot min range, label, scale... etc.
    All ideas welcome!
    Thanks,
    Adam

    Hi, Adam.
    This question seems to pop up every once in a while. The answers are different for arrays and clusters:
    Clusters
    You can access the properties using an explicitly-linked property node (IE, one that takes a control reference as an input). You can obtain a reference to the controls in one of two ways:
      - Right-click on the control (inside the cluster) and select Create»Reference.
      - Create a property node for the cluster and access the Controls[ ] property. This will give you an array of references to the controls inside the cluster, and you can pass that into the explicitly-linked property node. (You may have to use a To More Specific Class VI if you want to access properties that apply to only graphs.)
    Arrays
    Since arrays are for holding a large quantity of indentical data types, the properties for all elements of the array must be the same. If you really want to sidestep this functionality, however, you can always create an array of references to controls. If you wanted to do that, you'd have to create all your controls individually and then create references for them one by one. Once the references are created you can pass them into a Build Array VI. To alter the properties of any particular control, you'd use an explicitly-linked property node and pass in the appropriate reference.
    Let me know if any part of this isn't clear. Have a nice evening!
    Message Edited by sarahk on 10-25-2006 04:35 PM
    Sarah K.
    Search PME
    National Instruments
    Attachments:
    clusterControlReference.GIF ‏6 KB

  • Stacked plots

    Is there a way to have a stacked "Waveform Chart" with 8 stacked charts but display 16 plots, 2 on each chart?

    Ok I found a way to do this.  It is not exactly straight forward but the attached VI and control show what you want.  The secret is in customizing the graph and using the "Y Scale Index" property.
    Follow these steps and you should be golden.
    1. Create your stacked plot with the 16 plots.  So you will have 16 tiny little plot areas... no worries.
    2.  Take a look at the attached code and see how you can select the active plot and then the Y Scale Index associated.
        You at the moment have 16 plots and 16 Y scales.  Simple change the Y scale index of the last 8 plots to be 0-7. 
    3. Try that and notice you now 16 plot areas 8 plots with 2 plots on it, and then 8 that are empty.
    4. The last thing is to get rid of the 8 "blanks".
    5. Select the last 8 plots and make their Y scales not visible.
    6. Finally right click on the chart and select customize.
    7. Select window>> Show Parts Window.  In that new window you can find the last 8 plots, and set their hieght to 1, and change their location.  I suggest moving them under the top plot. 
    8. At this point you have a lot of free space.  Select one of the remaining plots and increase its height to what looks good for just one plot area.  Then select the 8 that you want to show and you can use the "Resize Objects" ring in the tool bar to make them all the same size.  Move them to where you want and bingo.
    9.  You should now have 8 visible plots, and 8 that are hidden.  Save the control and replace the one on your Front Panel.
    You should be done.  Let me know if or where you get lost because I know this is kinda strange.
    Evan
    Attachments:
    Overlaid graphs.ctl ‏31 KB
    Overlaid graphs.vi ‏50 KB

  • Stacked Plot y-axis property access.

    STACKED PLOT Y-AXIS
    I have a stacked waveform chart showing four plots
    Each plot correctly appears on a different sub-plot
    I can use the set active plot property to loop through the four plots and change their names, visibility etc.
    I can also read which is their active y scale index which corresponds to the plot index (i.e.both 0-3)
    BUT
    When I try and change a y scale property (e.g. label>text) it only ever changes the top sub plot label
    I have tried forcing the active Y-scale index also to no avail.
    I have also tried an overlay plot with 4 different y-axis and have the same problem.
    HOW DO I SET TEH INDIVIDUAL Y-SCALE PROPERTIES ON A STACKED PLOT?
    Attachments:
    stackedplot_yaxis_edit.zip ‏22 KB

    I made 2 small modifications to your VI, take a look at the attached.
    First you needed to set the active Y scale rather then setting the index. But more importantly the property node you are using to set the values is linked to the wrong graph.
    Let me know if the attached does what you where looking for.
    Attachments:
    stackedplot_yaxis_edit2.vi ‏66 KB

  • Comment gérer la superposition des tracés dans un graphe déroulant?

    Bonjour,
    j'ai un flux de 3 valeurs à afficher dans un graphe déroulant. 
    2 possibilités:
    Empiler les tracés ou Superposer les tracés
    'Empiler les tracés' donne 3 tracés dans 3 zones de tracé distinctes dans le même indicateur graphe.
    'Superposer les tracés' donne ( 3 tracés dans une seule zone de tracé du graphe)
    Ce que je souhaite avoir:
    - les 2 premiers tracés dans une 1er zone de tracé.
    - Le 3ième dans une second zone de tracé distincte et synchrone avec la 1er zone.
    Plus généralement, Comment gérer x tracés dans y zones de tracé d'un même indicateur graphe déroulant?
    Merci pour toutes indications
    ML

    Il n'ya vraiment aucune étape de programmation nécessaire, juste un peu de configuration.
    Je vais reprendre pas à pas mes explications. L'image de la face avant ci-dessous illustre chacune des étapes.
    Graphe 1 :
    On a 3 courbes : Tracé 1, 2 et 3. On veut reporter ces trois courbes sur un graphe empilé double. Les tracés 0 et 1seront en bas,  le tracé 2 (en vert) sera en haut.
    Graphe 2 :
    On passe en mode graphes empilés. La légende est automatiquement étendue à 3 tracés. On a 3 zones de tracés. On remarque que Y pour le tracé 0 est en haut, et Y3 pour le tracé 2 est en bas. L'ordre des échelles est de haut en bas.
    Graphe 3 : on fait un clic droit sur chacun des tracés dans la légende. On affecte les tracé 0 et 1 à l'échelle Y2, et le tracé 3 à l'échelle Y. La zone de tracé Y3 est maintenant vide.
    Graphe 4 :
    On réduit la taille de l'échelle pour n'afficher que les tracés 0 et 1.
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • étiquette de légende personnalisée sur graphe déroulant

    Bonjour,
    j'affiche dans un programme 8 tracés empilés dans un graphe déroulant. Ces tracés proviennent de capteurs qui peuvent être placés à différents endroits. Je voudrais donc que l'utilisateur puisse faire varier le nom qui apparait dans la légende d'échelle mais je ne trouve pas le noeud de propriété correspondant.
    Merci
    Sebastien DEVISSCHER - Nerys
    Résolu !
    Accéder à la solution.

    Bonjour,
    il faut sélectionner le numéro de tracé actif, puis définir le nom du tracé.
    Comme ceci :
    Cordialement,
    V-F

  • Sélection graphe déroulant

    Bonjour ,
    J'ai un graphe déroulant qui reçoit 64 signaux. Sur mon graphe déroulant je peux en afficher 5 de façon empilée.
    J'aimerais pouvoir choisir les 5 que je veux afficher grâce à un menu déroulant. Tout en gardant l'historique.
    Si vous avez une idée je suis preneur.
    Merci

    Bonjour
    Il n'y a pas 36 solutions
    il faut gérer manuellement l'historique et n'afficher "que" les voies qui nous interressent.
    Exemple :
    Ingénieur d'Application / Développeur LabVIEW Certifié (CLD)
    Application Engineer / LabVIEW Certified Developer (CLD)
    Pièces jointes :
    Sans titre 1_histo5_2010.vi ‏37 KB

  • Change properties in stack plots

    hello
    I'm using a waveform chart in my VI (labview 6.1).I need to display three graphs with diffrent y-scales.
    So I chose Stackplots. The result is one chart with three diffrent output windows. So far so good - but now I need to change the properties of the graphs individually. Primarily I'd like to change the way the displayed points are interpolated.
    I've searched for the place where to make this changes but all I found was a way to adjust the first output chart. All other output windows of the stack plot remain with the standard looking. maybe a quite stupid question ...
    thanks in advance for any help
    Simon

    You need to use/set the "Active Plot" property as per the attached.
    =====================================================
    Fading out. " ... J. Arthur Rank on gong."
    Attachments:
    Use_Active_Plot_v61.vi ‏28 KB

  • Xy Graph property node:apply to all plots

    I have an xy graph with multiple plots and am using property nodes to give each plot a different color.  My problem is that i would like to set the "point style" for every plot to be the same, in other words: create a default point style that differs from the XY graph default.
    Cheers
    CLA, CLED, CTD,CPI, LabVIEW Champion
    Platinum Alliance Partner
    Senior Engineer
    Using LV 2013, 2012
    Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.

    You can do this statically on the "Plots" tab of the graph properties dialog box.  You can also get a property node to alter this dynamically by right-clicking on the graph and selecting  Create >> Property Node >> Plot >> Point Style. 
    Brian R.
    District Sales Manager
    Washington DC
    National Instruments

  • XY-Graph: How to set number of plots in legends depending in number of plots

    Hello,
    i have an xy-graph that gets an array of plots. The size of the input array is can be different.
    Now how can i set via properties the number of plots shown in the plot-legend?
    Thanks

    Hi Thomas,
    there's a property to determine the number of plots shown in the legend…
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • 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. 

  • "Fill base line"/"Fill to" problem within stack plots

    Hi there,
    I try to plot multi data sets within the stack plots waveform chart. But I can't control the Fill To option correctly for the plots other than the first plot in the window. As attached, even I set the fill baseline to zero for the second plot (the green one) in the first window, it performs like fill to -infinity. I am using Labview 2010 DS2.
    Any solution? Or, I made any mistake here?
    Thanks.
    Attachments:
    Stack Plot Fill Baseline.vi ‏12 KB

    I agree things behave a bit weird if the number of traces is not a multiple of the number of stacked plots. Do you want three stacked plots or have two traces share one of the plots? Maybe you should use more defined data structures, e.g. an array where each element is a clusters of size=3.
    Try the following:
    resize the plot legend so 4 stacked plots show.
    Now resize it again for two stacked plots.
    In my case, the fill to zero is now correct.
    LabVIEW Champion . Do more with less code and in less time .

Maybe you are looking for

  • UK Payroll :Pension issue

    Hi Experts, This is related to Additional Voluntary contributions.When an employee is on whole month unpaid leave and there is an entry in InfoType 71,Additional Voluntary Contributions,Flat rate,this is calculated and shown on the payslip although t

  • Sony camcorder support?

    What is the best way to import movers from my Sony camcorder to my MacBook pro?

  • Deactivate Hierarchy symbols in excel

    Does anyone know how to remove the display of the Hierarchy symbols within bex analyser. Our problem is that we have a large hierarchy which is expanded by another hierarchy, in total about 2000 rows and 9 columns. Within ST03N it can be seen that 98

  • Macbook 2009 case help

    Hey guys, I want to buy this keyboard cover / hard case for my 2009 Macbook (its a 13.3 inch). It says its  for a 13.3 inch Macbook pro, will it fit? I saw some listings for similiar covers that specifically said it wouldnt fit but this particulary o

  • After Mac OS X Mavericks upgrade native apple apps stopped working

    I cannot use app store, or preview or mail. The launch pad is blank with no icons for all the native apple apps.  Google Sync servcies keep crashing as well. Please help