Scale x and y axis in intensity plot

Hi All,
I need to plot a 2D array in intensity plot.  But I need to change the displayed x and y axis in a different scale (i.e., they are actual single 1D arrays) instead of the index numbers of my 2D array.  Any solution to this? Thanks.

Hi,
right click the plot, and select property node.  For each axis, use the property X scale >> Offset and Multiplier.  This will start the scale at Offset (instead of 0), and put a distance between the points of Multiplier (instead of 1).
Let me know if this doesn't work for you.
Joel

Similar Messages

  • How to make a 2d intensity plot?

    I'm trying to make an intensity plot as a function of x and y positions.... I have a scanning stage that gives me the positions and I am measuring the intensities at those locations... I have put this on a 3d plot and it comes out nice, however, I need it on an intensity plot with multiple colors.... when trying to do this, I get time on one axis... I was wondering how I could change the axis to x and y for the intensity plot... thanks

    Have you tried a set up like this
    but instead of random numbers you put in your 2d data
    - there is always an easy way, but it is always the hardest to find
    Attachments:
    Intensityplot.vi ‏14 KB

  • XY Graph-Setting Y-Scale visible to False still Shows Corresponding Y scale Max and Min

    Hi Guys,
    I use XY graph to display the data with 3 Y-scales.
    When I set any Y scale Visiblity property to False,its still display the Y scale Max and Min range Lines in plot area of the  Graph and making cross line or extra parralel line with other visible scales.
    Attached the screen shot  for ref.
    And I know the cross line may be due to different Y scales range setting.But XY graph should not display the invisible Y scales and its property  as well.
    please provide your suggestions to avoid that.
    Solved!
    Go to Solution.

    The scales and the lines associated with those scales are separate properties. I have never tried it, and right now I am not at a computer, but there should be properties for setting the grid line colors. Set them to transparent.
    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

  • Intensity plot and MSnode-win​dow communicat​ion

    Two questions:
    1) Is there an intensity plot function that can be called from the mathscript window to display 2D arrays (such as a grayscale image), similar to the matlab function "image" or "imagesc"? The only options I saw were to display a 2D array on a 3D plot. Yes, I know the intensity plot is available in the variable display window, but I would really prefer a command-line option.
    2) When I wire a variable to a matlab script node and run the VI, that variable becomes available in the matlab command-line window. I find this very convenient. Is it possible to do this (or something like this) with the mathscript node and window? I know I can communicate between the node and window with globals, but I have to go through the trouble of defining globals, and this only works if I create a project for my VI, which is just far too much overhead.
    thanks.

    Hello,
    In response to your first question, we currently do not have such a function.  However, such functionality is on the roadmap for a future release.  As for the second question, each MathScript node is currently sandboxed -- that is, it has its own variable space.  This was done so that there is no variable collision between different MathScript nodes.  We will be improving the interaction between the MathScript node and the MathScript Window in the future and your suggestion is one idea we are considering.  It would most likely be an option on the node and not enabled by default to prevent any variable collisions.
    You do not need to create a project in order to use globals to share data between the MathScript node and the MathScript Window.  However, the MathScript node and the MathScript Window need to be in the same application instance.  Thus, if you are already using projects, make sure you launch the MathScript Window from the same project in which your VI is located.  If you are using the default application context (no projects open), then you should be able to share a variable "a" between a MathScript node and the MathScript Window by typing in each:
    global a
    Grant M.
    Staff Software Engineer | LabVIEW Math & Signal Processing | National Instruments

  • Polar plot scale labels and background colour

    Dear Labview Forum,
    I am trying to create a polar plot.  However when I put the polar
    plot indicator on my front panel and wire up some data and parameter
    control boxes, the scale labels are missing.  See polar plot
    basic.VI.  Are the scale labels there or are they the same colour
    (black) as the background and hence not visible?
    When you compare this to the polar plot demo, the background is white and the scale labels are present.
    How can I control the polar plot background colour parameter?
    How can I control the scale label colour and visibility?
    Regards,
    Jamie
    Message Edited by Jamieg on 01-17-2007 02:18 AM
    Using Labview version 8.0
    Attachments:
    polar plot basic.vi ‏31 KB
    Polar Plot Demo.vi ‏33 KB
    polar plot basic.vi ‏31 KB
    Polar Plot Demo.vi ‏33 KB

    I'm so sorry  ... i am also unable to find the Propety Node... i think i mistook changing the Label/Caption bg colour as changing the whole bg colour... i'm so sorry...
    i've tried searching but to no avail... my apologies...
    all the best to your application...
    Best Regards,
    JQ
    LV 8.0 user...

  • URGENT!!! How to plot x-axis and y-axis in a graphic?

    Good nigth!
    I have to do a work in what I've to plot a Spline given some values enter by the user.
    I just know how to plot the Spline, but now I have to plot it with the x-axis and y-axis, and the associated values.
    I'm in a big trouble! I'm in a hurry.
    I will be thankful if anyone can give me a code that works.
    I need this to finish a work that I have to deliver in a few weeks.
    Please, help me!!!
    Katia.

    /**you can start simple and enhance as you progress* /
    Point[] pnts=new Point[100];
    read(pnts.x);//find suitable input reader!
    read(pnts[i].y);
    and loop until all points are entered
    now you can use the array of points to draw lines from
    i=0 to i=1
    i=1 to i=2

  • Plotting x and y axis from two different data

    Hi everyone,
    I've just started using LabView on my new job. My new task is to create a VI to display a plot an XY graph from two data. How do I actually assign the two different data (X and Y axis resepctively)and plot them out on a same graph??
    Please help me out... my job is on the line!

    Other may post an example for you.
    I will tell how to find this and many other answers.
    Do a "Find Examples" from either the LV open screen or from the Help drop down.
    LV ships with examples that demonstrate almost every basic operation.
    One of the big benifits of these examples is that they work! If they do not, NI is interested in finding which ones do not.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Cannot make vertical axis of intensity graph logarithmic

    Has anyone else noticed that that the vertical axis on intensity charts cannot be made logarithmic? Labview gives you the option, but doesn't do anything when you try and check the box. Property nodes don't seem to work either. Tried this in LabVIEW 2011 SP1 and 2013. Am I doing something wrong or is this just a feature that isn't avaiable? I am just wondering if its my install or something that is really an issue.
    My application is to plot the power spectrum of sound on a intensity chart to show history of sound recorded by a microphone in real time. Really good to pin point source frequencies of feedback.
    Amit

    Hi Amit,
    This is a documented problem with LabVIEW and it is currently being worked on. Here are a couple other Forums that discuss it and offer workarounds for this issue.
    Log scale in an Intensity graph
    Possible bug in Intensity Graph while using interpolate colors on a Log scale
    Intensity Graph - Mapping Mode
    As shown in the 'Possible Bug' link above, a Corrective Action Request has been filed under the number 453407 as soon as a couple of weeks ago. To fully answer your question, it is not your install or anything like that, just an issue NI knows about and will be working on for future releases.
    Douglas C.
    Applications Engineer
    National Instruments

  • Intensity plot LV 7

    Hi everybody out there.
    My licensed Version of LV is 7.1 for windows XP.
    I have a big matrix:
    first line: wavelenghth (380, 400, 420, ...)
    first column: time (a nonlinear scale, e.g. 0,1,2,3,4,50,100,500,1000)
    all the other "cells" contain my (relative) intensity signal:
    0.01, 0.02, 0.00
    0.03, NaN, -0.1
    I cut the first row and column and generate an intensity plot.
    That looks quite OK.
    But what I want to do is the following:
    1) How can I create ticks on the axis with my real value (and not the
    matrix index)? (I'd like to use the vectors which is left from the
    matrix cropping)
    2) I need a interactive "tool" to read a cursor, which is placed by user
    in this plot (with the intensity plot it is not possible).
    => in other word:
    LV creates a nice plot with a axis including the ticks and the user can
    put a cross (cursor) in the plot and LV returns the wavelength and the time
    Is this possible?
    I'm new here, I hope the questions are not off topic.
    Thanks a lot,
    Thilo Kunz

    Intensity graps require the spacing in x and y to be uniform so labeling the axis ticks will not be trivial. Maybe you can substitute the axis of a hidden slide and set it to "text labels".
    The cursor problem is much easier. Just read the cursor index and then index into your array of time values and display it. (Same for the Y axis, except you would need to use cursor position, because cursor index is not available here).
    Another possibility would be a picture indicator to make your graph. Here you have full control over any axis labels you want to place. This will require some work, though.
    LabVIEW Champion . Do more with less code and in less time .

  • How do you update an intensity plot one element at a time?

    I would like to use an intensity plot (or other control) to plot data collected from A/D channels. How do you get the Intensity plot to update one element at a time vs. row by row? Tips and suggestions greatly appreciated!

    > I would like to use an intensity plot (or other control) to plot data
    > collected from A/D channels. How do you get the Intensity plot to
    > update one element at a time vs. row by row? Tips and suggestions
    > greatly appreciated!
    >
    You will need to use the intensity graph and keep the buffer yourself.
    Init the data with background values and start filling then in using
    Replace Array subset. Presumably you are in a loop. Recirculate the
    data in a shift register adding new data each iteration and plotting the
    array to the intensity graph.
    Once you get to the horizontal edge, you need to decide if you split the
    data to get rid of the first row and append a new background row to the
    end making a strip chart, or do you clear the array and start over from
    the initial edge again making a scope chart, or do you mod the index
    with the buffer size and erase a row at a time in advance making a sweep
    chart.
    To update the scales, you don't have to change the data. Just write to
    the Offset property each time you scroll and it will relabel the data
    with 0 mapping to the offset value.
    Greg McKaskle

  • Graph with 2 y axes and x axis (x , y1 , y2)

    Hello,
    I have a requirement to show a graph in a alv grid(using oops) report. The graph will have two y-axis that will represent two different scales.(For examle axis Y1 will have Volume & axis Y2 will show price). Can we make such a graph in ALV? Please point out how we can go about to do the same.<b> Any sample code will be appreciated.</b> We are using a customised toolbar and the standard tool bar is disabled.
    | ...........................|Y2(Value in $)
    Y1(Volume)...........
    X-axis(Date)
    Points will be rewarded.
    Note - We will be using Line graphs in this case.

    What happens in your sequence structure is that the second  fame overwrites the data from the first case.
    You should create your two data-sets, and build an array of those, feed this into a for loop and then per data set, select the proper:
    -plot (ActPlot)
    -Y-scale (Plot.ScaleIdx)
    -Y-scale to edit (ActYscl)
    Then set the max and min, be aware that the second Y-scale should be created before running this code.
    Another option would be to just auto-scale the Y-scales.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Intensity Plot Scaling

    I need to change the scaling on the intensity plot. However, there have been some changes in Labview 6i and now I can't find how to change Xo and dX programmatically through attribute node. Does anyone know how to get Xo and dX to show up? I have been playing around with the X.increment, X.minor.increment, X.start, X.maximum, and X.minimum, but they don't seem to give the results I need.

    In LabVIEW 6i, Xo (offset) and delta X (multiplier) for scaling data can be found in a property node under /X scale/Offset and Multiplier/
    Hope this helps. /Mikael

  • How to choose color marker in intensity plot

    Hi There,
    I am trying to plot my 2D data file in intensity plot. I want to that color plot should be like Red as maximum value while Green as minimum and 0 value should be yellow. I looked at this example http://digital.ni.com/public.nsf/allkb/1ADFF221E27F5B5886256E6F007C7B58?OpenDocument , but in this example they are deciding marker beforehand. In my file i want to choose marker based on maxima and minima value.
    Thanks
    Yogesh 
    Solved!
    Go to Solution.

    Here's a simple example. I did not change anything execpt to show the z-scale markers with 1 decimal digit (default is zero). This is just cosmetic.
    Message Edited by altenbach on 05-31-2009 12:50 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    SetZMarkers.png ‏52 KB

  • Swap X and Y in a Scatter Plot

    Seems like this should have a simple answer. I have a table of data, and I'd like to generate a scatter plot of two columns. The plot comes out fine, but I want to "swap" the X and Y axis in the resulting chart.
    Is there a simple way to do this? I can't find anything in the chart popup-menu, the inspector, or the application menus.
    Cheers
    Mike

    Michael,
    This is a user to user forum, and I'll admit that I don't have a great grip on Numbers Charts, so I may be missing something myself. However, I don't know of an easy way to swap the axes either. What I would do is to create an auxiliary column that repeats the X data in a column just to the right of the Y data. Then I would create a new chart that plots the second and third columns, effectively reversing the axes. The third column can be hidden. Of course you could also just reverse your x and y columns before plotting, but that might be more disruptive to your overall table organization.
    Jerry
    Update:
    I believe that, after some experimentation, I have a better method for you. Highlight the X Range only and create a Scatter Chart. The Chart will be blank since you have not yet supplied a Y range. Then highlight your Y range and drag it to the blank chart. A new Y series will be inserted.
    Hope this works for you.
    Jerry
    Message was edited by: Jerrold Green1

  • How to add a scroll bar within a view window ?I want to display x and y axis outside the scoll window and keep those axis static and move the graph within scroll area

    how to add a scroll bar within a view window ?I want to display x and y axis outside the scoll window and keep those axis static and move the graph within scroll area
    ananya

    Hey Ananya,
    I believe what you want to do is possible, but it will not be
    easy.  If you want to add a scroll bar that will scroll the graph
    back and forth but keep the axis set, you would want to add a
    horizontal or vertical scrollbar.  Then you would create an event
    handler for the scroll event.  You would have to manually plot
    different data within this scroll event.  Unfortunately, there is
    not really a built in way to do this with the Measurement Studio plot
    control.
    Thanks,
    Pat P.
    Software Engineer
    National Instruments

Maybe you are looking for

  • Standard report(t.code) for open deliveries

    Hi Friends, can anyone give me standard open delivery report T.code. thanks nitchel

  • An error occurred while trying to contact the radio tuning service

    I get this error message when trying to connect to the radio stations on itunes?  "an error occurred while trying to contact the radio tuning service"  My computer is definitely connected to the internet as I can stream from pandora and safari and ma

  • Import DNG preference not working

    I have set the import extension as dng to auto import as dng from a Canon 40D. Doesn't happen and after I import I have to convert the raw to dng. Is there anything I need to do in addition to setting the preference? Jay Gould

  • Iphoto has reorganized my photos?

    My iPhoto has been organizing my photos where when I add new photos they are added to the bottom in order. After updating my software(i had to get a new hard drive, but everything was backed up) I went and added new photos to my iPhoto and now new ph

  • YYYYMMDDHHMMSEC to MM/DD/YYYY HH:MM:SEC

    Hi, I have a requirement where I need to convert the time stamp with the format YYYYMMDDHHMMSEC should be converted to MM/DD/YYYY HH:MM:SEC . to convert YYYYMMDD to MM/DD/YYY I am able to use the Function Module CONVERT_DATE_TO_EXTERNAL. But to conve