3d plot labels

How can I add text labels to individual points on a 3D plot? And easily change the colour of individual points? .. And how do I add graph labels?  
I've produced the attached to help me learn about transformation matrices, but it's not very user friendly.
Thanks
Attachments:
plotting points in 3D.vi ‏22 KB

Hi Grahamwebb,
You can customise your 3D plot using the 3D properties window, you can get to it by right-clicking on the plot on the front panel. Then follow the picture below :
This will open up on options window that allows you to do what you wanted!
this link might give you more help in the future also: http://zone.ni.com/reference/en-XX/help/371361G-01/lvpage/3dpp_plots_db/
Many thanks,
John McLaughlin
Insides Sales Engineer Team Leader
National Instruments UK & Ireland

Similar Messages

  • Changing names of labels of plots of graphs or waveform charts

    I am using a formular vi to do multiple calculations whose answers i display graphically on a waveform chart.
    the problem is that labview does not allow me to change the name of label of the result from the calculation to what i want it to be displayed as to the front panel user.
    well... it does allow me to change it to what i prefer but as soon as i run the vi the label name reverts to "result"
    is there a way of getting around this problem?

    Ok... sorry for the confusion
    see what i meant below
    if for example i am doing an efficiency calculation i would need an input and an output then i would calculate the ratio of the output to the input.
    on my graph i would want to see a plot labels named input, output and efficiency
    in the example attached i have simulated two signals and i did the calculation with the formular vi
    on the front panel i can only see plots labeled DC, DC and DC(Formular Result)
    i want to display these on my graph as Input, Outpt and Efficiency respectively
    hope that clears the confusion
    that is my problem, please give me the answer
    Attachments:
    code example.jpg ‏32 KB
    front panel example.jpg ‏23 KB

  • Numeric indicator label used to create plot legend

    When I create a channel for data (numeric indicator) it carries along with it a name for the value.  So for example if i am reading 8 temps, I name them temp #1, temp #2, etc.  How can I have those names carry through into the plot legend?   Thyey only show up as plot 0, plot 1, etc.
    Does it matter if it is a chart or graph?

    What makes you assume that some scalar indicator label information would flow upstream and somehow end up as plot labels?
    All you need to do is write the desired plot names once at the start of the program, e.g. as in the attached modification.
    You currently have duplicate control labels, so that's something you should fix.
    Sorry, I don't have DAQmx installed, so I cannot help with the assitant. Still, maybe the attached can give you some ideas....
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    RTD Bearing ComparisonMOD.vi ‏74 KB

  • Multiple plots (different colours) on a single histogram?

    I have a 2D array of data, and I would like to plot a histogram.
    each row(with 8 elements) would be plotted in pairs, in 2 different colours.
    My chart would  have to look something like the attached image.
    My vi is also attached. Right now it displays the plot (one row for now),but I have a few problems:
    1) How to change the colour of each bar (to be like the excel graph)
    2) how to change the bar plot label ( so instead numeric values 1,2,3,...I would like to have a,b,c,... under each bar)
    3)and how to remove the (0,0) point on  the graph, so you could see the first bar entirelyy, instead of partially.
    I tried bundling the data , dynamic data, and a a bunch of other things  but couldnt get it to work.
    Thanks!!
    Attachments:
    plot.PNG ‏15 KB
    display histogram- 2.vi ‏91 KB

    You can create a histogram of each row by connecting the output of the General Histogram or Histogram VI's (in the Statistics Palette) to a Build Array. Connect the output of Build Array to a Histogram Graph. You can create a Histogram Graph by right clicking on the General Histogram or Histogram VI's Histogram Graph output terminal( Create>>Indicator). That should show you both histograms with different colors in one graph(they may be overlapping though, use the Bar Plots options to see what view is best). Unfortunately, I don't see how you could display it like the graph you posted, but you may create a button that controls a Histogram Graph by using Property Nodes. Right click on the Histogram Graph indicator in the Block Diagram(Create>>Property Node>>Plot>>Visible). If you connect a Boolean control to this property node and place that piece of code inside a while loop, you could turn your plots on and off. You can also create an Invoke Node(Right Click>>Create>>Invoke Node>>Export data to Excel) to Export data to Excel. Make sure you expand the Plot Legend on the upper right corner so you can see the second plot options.
    Here are some links that might be helpful:
    http://zone.ni.com/reference/en-XX/help/371361H-01​/lvconcepts/customizing_graphs_and_charts/
    http://forums.ni.com/t5/LabVIEW/Can-labview-displa​y-a-histogram-plot-of-data/td-p/971038
     I hope this helps.
    Andres G
    Applications Engineer
    National Instruments

  • Start position on plot legend scrollbar

    If I right click on the plot legend I can show the index display and vertical scrollbar. When I move the scrollbar the index changes accordingly. Does anyone know how to programmatically find the value of this index so that I know which plot labels the user sees. I've tried looking at the property node but I can't see anything that gives me what I need.

    Thanks for your reply Rob.
    I was thinking that was the case. Sometimes it’s possible that there are clever little tricks hidden away in the set up screens. I’ve ended up now with my old method which looks very clumsy (see attached vi), I can make it look much better when I get the scroll bar position.
    I’ll follow up on the product suggestion though as it would be a very useful feature.
    Attachments:
    Scrollbar Demo.vi ‏52 KB

  • Plot legend flicker when in RUN mode

     Hi all,
    i have written a code in LV to acquire data from 12 sensors and display them. In the waveform chart I tried renaming the legend. When I run the vi, the legend name flickers to module name and channel name. I am attaching a snapshot to give you guys a clear idea.
    The vi is also atttached.
    Any help is appreciated.
    Regards,
    Arihant
    Attachments:
    plot legend issue.png ‏46 KB
    Temp meas using DAQmx.vi ‏39 KB

    I think it's flickering because you placed the code that writes the plot labels inside the while loop, so at each iteration you re-write it, just place all that code before the while loop, so that it executes only once before you get into the loop.
    And also since you're using waveforms, DAQmx automatically includes metadata with your channels, if you want you have to remove those metadata plot by plot.
    You can also optimisze a bit the code to write all the plots' names. See attached VI.
    Hope this helps
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
    Attachments:
    Temp meas using DAQmx.vi ‏29 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

  • How can I customize Waveform Chart?

    I want a routine to display selected waveforms on a chart. The input is a waveform array.  The chart should have the following:
    1. Y axis labels using the waveform names
    2. Legend plot labels using the waveform names
    3. X axis in seconds from the start of the waveform
    4. digital values displayed next to the appropriate graph(s) - note that the number of plots can be changed depending how many items are selectd for plotting - it would be nice to have waveform names label each digital value
    5. Programmatic control of overlay/stack
    The attached vi does some of this -- with a very ugly wiring diagram.  Can PropertyNodes be handled in subvis? (it would clear up the wiring a lot!)
    Is ther an easier way?
    Attachments:
    Plot.vi ‏59 KB

    I'm not quite sure what's going on, but sure, you can handle property nodes in subVIs - just pass a reference to the control.
    Right-click a property node and select Disconnect from Control. Then right-click the control it originally referenced and select Create -> Reference. Wiring this reference to the disconnected property node will duplicate the functionality of the original property node. You can then put the node in a subVI and wire different references to it as necessary. Is that what you had in mind?

  • Custom Icon / Marker / Point-style on Graph

    Is there a way I can use a custom icon (or point-style) on a graph or chart?  I want to place a series of points on an XY-Graph but I don't want to use any of the built-in point styles, I want to use a .gif file I have.  I have toyed with the idea of converting an XY position to a screen position (in pixels) and hiding / showing an icon already on the front panel, and moving it.  This seemed like a bit of a hack to me, I'm hoping there's a better way.
    Thanks

    ptilghma -
    I know you can modify programmaticaly:
    Graph palette
    Plot legend (waveform chart, waveform graph, xy graph, and digital waveform graph only)
    Scrollbar (charts only)
    Blinking plot
    Label scroll position
    Active X/Y Scale
    Using property nodes  but I don't think that it modifies the icon.
    I think mapping out the screen and applying some sort of logic to replace the points is your only way out.
    Here is a link describing the use of property nodes in graphs
    http://digital.ni.com/public.nsf/websearch/A0525AF9D64408F186256BFB005970EB?OpenDocument
    Best Regards
    Bruno Noronha
    Bruno Noronha
    Certified LabVIEW Associate Developer
    Using LabVIEW 8.6

  • WPF Legend Binded to Graph.

    Hi,
    I have a ni:Legend object binded to the Plots of my Graph object. Which Property of my Plot should I set from the C# code to see it displayed in the Legend window?
       <ni:Legend Name="MyLegend" ItemsSource="{Binding ElementName=MyGraph, Path=Plots}" />
            <ni:Graph Name="MyGraph" DataSource="{Binding UpdateSourceTrigger=PropertyChanged}">
                <ni:Graph.Plots>
                    <ni:Plot/>
                </ni:Graph.Plots>
    </ni:Graph>
    MyGraph.Plots[0].??? = ???
    Solved!
    Go to Solution.

    The legend uses a WPF ContentPresenter to display the plot Label property. In the case of UI elements, it appears that ContentPresenter defaults to using the ToString representation, instead of the element itself.
    To display content like "Something", you will want to assign that content directly to the plot Label property:
        MyGraph.Plots[0].Label = "Something";
    If you want to specifically show a WPF Label content control in the legend, you can use the LabelTemplate property:
        <ni:Graph.Plots>
            <ni:Plot>
                <ni:Plot.LabelTemplate>
                    <DataTemplate>
                        <Label Content="{Binding}" />
                    </DataTemplate>
                </ni:Plot.LabelTemplate>
            </ni:Plot>
        </ni:Graph.Plots>
    ~ Paul H

  • Modify label in a scatter plot

    Hello,
    I need help with a scatter plot ...
    I have 3 columns of datas (column A, B and C).
    I represent A on the X axis, B on the Y axis and C at the intersection.
    I display labels but I need to modify them to display C, near the point. Is it possible ?
    example :
    10     5     test1
    20     10     test2
    and I want
    X test2   
    |  X test1      
    |____________
    Thanks.

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • Labeling Variable Number of Plots on a Graph?

    I'm loading up an unknown number of files and graphing them. Since it can get a bit confusing, I'd like to be able to take a portion of the file name and label each plot on my graph. Since there is a variable number of graphs, I can't seem to work around how to wire the property node. There are several other things I'd like to do with the graph, but dont know if its possible or not such as having a label pop up if your cursor is over a plot.

    You are going to have to embed the reference node for the graph into a for-loop like the attached example. File names or portions thereof are built as strings and then added into the property node Plot>>Plot Name.
    I'm not sure about how to get a label to pop up if you are over the plot. You might be able to do it with some cursors and associated code.
    Attachments:
    Graph-Names.vi ‏20 KB

  • Programmatically expanding label space in Plot Legends

    I know that manually expanding the Plot legend with the left corners expands the label area. How do I do the same thing programmatically? Changing the width property seems to add space to the right side.

    According to the Help File entries for those properties the size properties expand or contract from the right side. Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Radar plot with category label changed

    Hi
    I tried this example vi, Line Graph (Excel).vi, with some modification as shown in the attached picture. I changed the plot to a xlRadar. After I run the vi, I got the result as shown in another attached picture. I would like to know how to change the font size of the Category Label programmatically in my vi.
    Thank you & Regards
    Lee
    Attachments:
    test 2 - vi.JPG ‏61 KB
    test 2 - result (modified).JPG ‏173 KB

    Lee,
    I thought that the example would work the same with the line graph and the radar graph, but it looks like I was mistaken.  I attempted to drill down to the property nodes and change the font size there, but this was unsuccessful.  Digging into the lower level VIs which the Set Graph Font VI calls, I could not find a way to do this either.
    The problem stems from the Axis Type input on the Set Graph Font VI.  The options are xlvalue, xlcategory, and xlseriesaxis.  Certain scale types cannot be used with certain chart types. For instance, xlSerisAxis cannot be used with any chart type because it is only supported in 3D charts (which we do not support in RGT). Further, xlCategory is only valid with the xlXY charts and xlBubble charts--which the radar graph is not part of.
    Therefore, you won't be able to change the category label font size with the built in functionality of the RGT.  Since the RGT uses ActiveX calls to Excel to manipulate the graphs, if you wanted to build in this functionality, you could do so with ActiveX.  Your best source for this would be the MSDN.
    Please let me know if you have any more questions.
    Regards,
    Craig D
    Applications Engineer
    National Instruments

  • Automatically labeling plot legend using XY Graphs?

    I want to plot:
    Time Amp
    1       2
    2       4
    3       9
    How do I get the legend to automatically say Amp, instead of Plot 0? I went to property node -> legend and I don't see any option
    that would read the "column" header and label the legend accordingly.
    In my example, the X array (Time) and Y array (Amp) are fed into Bundle which is then fed to the XY Graph input. The X array (1,2,3) and Y array (2,4,9)
    obviously carry no information about their respective column names (Time, Amp). So, the legend must read this information separately, but I don't know
    how to feed this information to the plot legend. 
    Solved!
    Go to Solution.

    You simply need a property node for "plot.name". You have only one plot, so the following is sufficient (of course you would replace the string diagram constant with whatever you read from the column header in the file)
    (If you have several plots, you would do it in a loop, setting the active plot from the iteration terminal, first, then writing the name)
    Since this is an xy graph, I would actually hide the legend and simply label the two axes according to their header. This can be done in a similar way with property nodes. See if you can figure it out.
    (Of course if the labels never change, enter them once manually and they will be saved with the VI. No code needed.)
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    SetPlotName.png ‏3 KB

Maybe you are looking for

  • Problem restoring iTunes backup from Time Capsule

    I had to reformat the hard disk on my daughters macbook and I'm having problems restoring the iTunes library. I have copied the iTunes folder onto the Macintosh Hard drive and receive this error message when I try to open iTunes saying that the .xml

  • New iview Window Session Handling in Enterprise Portal

    Hi All, We are using Webdynpro iviews and SAP Transaction iviews at ITC for portal implementation. We are opening the iviews in New window using "Launch in Separate Window". We have the following issues - When I log off from Portal , the webdynpro iv

  • Installed Itunes 10.2.1, can't find library & won't recognize mobile device

    I installed the update to 10.2.1 ( not sure why, everything was working just fine) and it gave me an error message that it could not find the library itl. file and was in a music folder location. So, I uninstalled and reinstalled etc. Itunes is worki

  • Bold 9900 charging pod

    Hello....  I bought the charging pod for the 9900 a couple of days ago. I have tried to charge my phone for a couple of days now (overnight) and the phone will not charge. When I place the phone on the pod everything goes as expected: switches to bed

  • Issue with 10g Server Name in HTTPServletRequest

    Hi, We found an issue 10g (Sol8). When we intercept the HTTP request through a J2EE Filter, we see that : Server name : hostname HOST header : hostname.domainname:port Why is the Server Name not same as "hostname.domainname" ? In 9iAS, the "Server Na