plot of intensity


I'm new to labview and hope someone can help me. I'm doing a plot of the intensity of the parcel of point clouds data. I want to take data from a diagram of dispersion and in a plot of the intensity of the same region, show, record the data by a by a square grid. I hope that's not too complicated.

Help, please!



Here's a quick example to keep track of the counts in each location. You could do a comparison on the 2D (e.g. > 10) table and convert the Boolean array resulting in (0,1) for a simple indicator "enough / is not enough. See attached (LabVIEW 8.5)

Tags: NI Software

Similar Questions

  • Link to the plot area slider


    I'm having a problem with the cursor in a plot of intensity. I use two slider in the plot of the intensity and using these cursor position in my program. The input file is a 2D array and size of the file (table) differ from one experiment to another. Sometimes, when I load my file the cursor moves to a value of previous file and is so not visible in the plot (because the previous file can have larger size). Is there a way related to cursor to tell certain position (as in the center of the plot or half the value of size X and y axis). So in summary, I want that when I load my 2D cursor file in the plot of the intensity must be at a certain position depending on the size of the axes X and Y - but he should be able to freely slide so I can move and use the cursor position using node property to calculate other values.

    BTW, I'm using Labview 8.2

    Thank you


    Just write the position of the cursor to move the cursor to the desired coordinates. For example if your new 2D matrix is 50 x 50, move to 25.25.

    Later, you can intereactively move elsewhere as before.

    You must also disable scrolling cursor (Right-Click Advanced...... Graphics Scroll cursors). This way you will not be able to move the curor outside the limits of the current area of the field.

  • How to implement the wafer map using LabVIEW?

    Hello LabVIEW Masters!

    I have a project which includes control and searching for information on a PROBER. One of the difficulties I have now is how to implement a WAFER card using LabVIEW. According to the requirements of my client, the element of pads varies between 6 k and 23 k. I guess that do everything (a = a ctl/indicator led) will be a hell of a task, especially on how to effectively manipulate each elements. Does anyone have a better idea on the way whose that?

    Please, I seriously need your help...

    Thank you and best regards,

    Dennis DG

    Hi Dennis,

    This wafer GerdW post card appears to me as a sort of histogram (for example;

    Altenbach post well this example that shows how to use a plot of intensity to create a 2d histogram:

    Learn how it works and try to adapt it to your specific task.


  • Problem of Fit 2D Gaussian.

    I have a 2d Gaussian curve fitting problems.

    I have a set of data: with 3 columns and rows of N. For example

    x y intensity.

    ..   ..      ..

    N is the same for all 3 columns. I'm trying to create a plot intensity out of these data and adapt a 2D Gaussian to it.

    I tried to do a polynomial interpolation of the intensity of data on the x - go and carry out a plot of intensity (do not know if there is a better way to do it! Please Suggest if there is nothing else.).

    Then I use the Levenberg-Marquardt method to adapt to these data. For some reason, it does not any iteration estimation. The best value of adjustment is the same as the estimate. There is shoing error: NI_Gmath.lvlib:LM is again. (see attached screws)

    Can someone help me with this!

    Thank you.

    OK, I quickly changed my old example and it seems very easily mount your raw data. See attached (LV2010). Modify if needed.

    (Note that I set the width as 'width at half the height', your definition may differ.)

  • Plot of abnormal intensity

    Anyone have an idea how I could re - create this parcel of Matlab in LabVIEW without spending days developing a picture 2D to the problem solution, which well that would be more fun is unlikely to be particularly well received by the project manager!

    It is basically a circular plots intensity which has probably a particular name which, unfortunately, I do not know, and the only person who might know is sick today.

    Ideas received with gratitude.

    Thank you


    Here is a quick sketch (LV2010). Of course, he needs a little more work.

    Just a little more picture tools you will use to add straight lines and text to the part of the image.

  • How to choose the color marker in the plot of the intensity


    I am tracing my 2D data file in the plot of the intensity. I want to that path of color should be as red as value maximum all in green as minimum value and 0 must be yellow. I watched this example, but in this example they decide marker beforehand. In my case, I want to choose marker based on maximum and minimum value.

    Thank you


    Here's a simple example. I didn't change anything execpt for show with 1 decimal digit z scale markers (default is zero). It is just cosmetic.

  • IMAQ image for intensity 3d plot

    Hi all

    I know it would be an easy question to answer for most of you, but it does not give a moment difficult here. I want to build a simple laser beam Analyzer in my lab (see attached vi). My problem is that, ideally I would want the 3d plot (which is gray for now) false colour (a bit like the one illustrated in the exemple.jpg). Anyone have an idea on how to do it?

    I included in my attachments a real picture of a beam, in the case where you want to run the code. Please excuse the messy code, this is the first time I work with the palette of the IMAQ and I just wanted to see what we can do with it. Please tell me if you need more info and thanks in advance

    Hello Skata,

    Right-click on the Image display 'Image3'-->--> Rainbow Palette.

  • Intensity plot zoom is back with reverse YAxis.

    In order to make my data intensity ground pull from top down, I reversed the x-axis using the YAxis.Inverted property.  It worked perfectly.  However, when you try to zoom the field of intensity, the zoom function is not reversed.  In other words, if you zoom in on the top of the chart, it actually zooms in from the bottom.  Is it possible to fix this?

    Thank you


    Hello Jon-

    Unfortunately, it is a known problem (id 290072).  I think the only way you can really work around this issue is to remember the axis range before that happens the zoom, and then assign a new scope object to the axis which corrects the incorrect zoom by handling the Zoom event.  I have attached a source for a quick fix, that I just wrote - perhaps you will find it useful.

    This problem will be fixed in the next version of service pack, which will be later this summer.

    I'm sorry for the inconvenience-


    National Instruments

  • XY graph multi plot points and color control live

    Hi all

    I'm doing something that should be simple, but difficult so far. I had a good look through previous topics and found similar things, but not really what I want.

    In my experience, I'm scanning intensity vs. wavelength.

    Ideally, I want to be able to:

    (1) scan and see live plotted points.

    (2) then I want the plot to stay on the graph when I run the following analysis, etc.

    (3) I have an arbitrary number of scans. for example to start a scan, I press a button, an arbitrary number of times.

    (4) I want to make sure the current analysis is drawn live in (red), and all the previous analyses are drawn in a different color (blue).

    (5) sometimes I want can erase the graph of all scans and start over, without having to stop the VI.

    Items 1-3 can be supported easily by placing the XY graph building and the XY graphic object inside the loop that runs the scan and uncheck 'clear data on each call' in the properties of graphic generation. See the first VI attached.

    However, at the beginning of an analysis, she joined the last part of the previous analysis up to the first point of the next scan.

    The difficult parts are 4 and 5.

    For article 4, you need to build an array of plots, which is easy if you know the number of plots, but here the number is arbitrary. So, how do I do that? I had a go trying to use Insert table in different ways, but I haven't worked on it. Then if all goes well using the graphics property XY nodes I can adjust the colors of the plots.

    For part 5 is not just enough to use the invoke = node reset by default, and have a button that executes the node. This clears the graphic but then when you run the following analysis all parcels previous pop up once again, indicating that the table that stores the plots is not actually deleted. The second accessory shows how I delete the chart.

    My biggest problem is point 4 and combining point 4 and 5 together.

    Help, please.

    I fixed the problem of the route doubly table and added in the desired color, attached plot.

    The code now done everything I wanted to in my first post.

    No doubt the code could be improved more, but that's for everyone out there who has this problem.

    Thanks to tst for give me useful advice.

  • What do you think is the best way to overlay a XY trace on graphic intensity?

    I have some thoughts, but it was not a bad idea to ask this question to the experts here.  The coordinates of the XY plot can be unconnected with the coordinates of the ranges coordinated axe X and Y of the intensity curve.  A few thoughts:

    (1) knowing the X, Y coordinates of the plot, somehow use the draw capabilities to duplicate the XY trace - draw capabilities allow almost anything to be drawn on the charts with a smart programming.

    (2) similar to above, but in fact do, first display graphic intensity of the data in the picture in the image control control (the default container that I use is the graph of the intensity, but for this application, I can switch back).  Mask of image control capabilities can be used?

    Any thoughts are appreciated...

    Ah, I see. You'll really have to do something special. Just your graph XY to be transparent by using the color brush tool, remove the axes X and Y and just place it on top of the intensity card.

  • Intensity chart non-visible grid

    Hi all,

    I can't get to show the grid on a graph of intensity lines. They show anywhere there is no data, but where there are data, they are hidden. Is this a bug or I do something wrong?

        griStats.Plot (stats)
    intensityPlot.PixelInterpolation = True

    griStats.XAxes (0). MajorDivisions.GridLineStyle = UI. LineStyle.Solid
    griStats.XAxes (0). MajorDivisions.GridColor = Color.Black
    griStats.XAxes (0). MajorDivisions.Base = 0
    griStats.XAxes (0). MajorDivisions.Interval = 1
    griStats.XAxes (0). MajorDivisions.GridVisible = True
    griStats.XAxes (0). Range is new user interface. Range (0, UBound (twa))

    griStats.YAxes (0). MajorDivisions.GridLineStyle = UI. LineStyle.Solid
    griStats.YAxes (0). MajorDivisions.GridColor = Color.Black
    griStats.YAxes (0). MajorDivisions.Base = 0
    griStats.YAxes (0). MajorDivisions.Interval = 1
    griStats.YAxes (0). Range is new user interface. Range (0, UBound (tws))
    griStats.YAxes (0). MajorDivisions.GridVisible = True

    Thanks for your help,


    Hey there,

    Try this. Hook on the IntensityGraph.AfterDrawPlot event.

    private void intensityGraph1_AfterDrawPlot (object sender, NationalInstruments.UI.AfterDrawIntensityPlotEventArgs e)
    intensityGraph1.DrawGridLines (new NationalInstruments.UI.ComponentDrawArgs (e.Graphics, e.Bounds));

    I hope this helps.

    Habim stone,

    National Instruments

  • cannot select the color of the mark on the intensity

    Hi people,

    I want to add color to my plot intensity, but when I right click on the bar of color card, the mark color is gray. A picture is attached.  I use LV2011.

    Someone knows how to fix this?

    Thank you.


    Hey Sonny,

    What you have to do, is actually one of the first click.  Look at the picture I have attached.  You can see that I have highlighted the value 39.4161.  Once you do this, right click on the brand and you should be good to go.

    If you want more color, you add more markers.  This can be done simply by right-clicking on the z scale everywhere where you want to add the marker, and then selecting "Add marker".

    I hope this helps!

  • Polar data in a graph of intensity

    Hello, I'm trying to plot a graph of the intensity in a real-time application. The problem here is that I get to control the scale, the RADIUS and the angle separatedly, any ideas on how I can trace in a graph of intensity?

    Hi MrX,

    It is pretty basic math to convert r & theta x & y.

    LabVIEW provide even basic functions to do this!

  • DateTime on x-axis of the graph of the intensity

    How can the x-axis of a graph of intensity be configured to the DateTime data type, similar to the graphic waveform XAxis?  You can set the FormatString DateTime MajorDivisions, but has no way of installing the x-axis values.  Waveform curve has a foot (double [], DateTime, TimeSpan) function that will implement the XScale with the correct DateTime values, but the graphic intensity doesn't seem to have a similar capability.  I tried to configure the graphic intensity YAxis MajorDivisions DateTime Format string and pass then the plot function Tick values for the yScaleStart and YScaleIncrement, but it does not work probperly.  MS2012 release notes say that the curve of intensity has now an automatic formatting for displaying DateTime on axes X and Y.  I tried to use this feature to test the DateTime X and the ability to axis Y; However, the function of automatic formatting is not available for the chart of the intensity.  Any help is appreciated.

    Thank you!



    Try the following code piece.

                // Set the label format correctly            intensityYAxis1.MajorDivisions.LabelFormat = new NationalInstruments.UI.FormatString(NationalInstruments.UI.FormatStringMode.DateTime, "g");
                intensityYAxis1.Mode = NationalInstruments.UI.IntensityAxisMode.AutoScaleExact;
                double[,] data = new double[100, 100];
                for (int i = 0; i < 100; i++ )
                    for (int j = 0; j < 100; j++ )
                        data[i, j] = (i + j) / (colorScale1.Range.Interval * 2);
                // IntensityGraph only understands double values. But graph can interchange the data value from different types using the DataConverter provided by NI.
                    (double)DataConverter.Convert(DateTime.Now, typeof(double)),
                    (double)DataConverter.Convert(TimeSpan.FromDays(1), typeof(double)));

    It will be useful.

    Habim stone

    National Instruments

  • Fade colors in the graph of the intensity

    Hello world

    I did a program where I read a 2D array and draw this picture in a graph of intensity.

    I was wondering if the colors in the chart weaken each other, preferably in a vertical position (columns). The idea is that digital data becomes viewed as a genetic profile.

    I added a picture of the graphics path.

    Thank you.

    Without manipulating the table, no it's not possible.  I had an idea about the exchange of idea to solve this problem, I recommend that vote you for it.  Anti-aliasing or smooth intensity plot

    As says the idea, see this post for workarounds.

Maybe you are looking for