Contour Plotting

Can any one suggest me a good site for contour plotting or any jar file exits which help me in plotting contour plot graphs.

There's a huge, comprehensive and open-source GIS package called "GRASS", admittedly written quite a while back in C. It's very modular, with a class or two for each of dozens of commands, so it's quite a good source of example code for stuff like that.
(Grass is originally a US military project).

Similar Messages

  • How can I prevent a memory flow error from occuring when using 3D contour plots?

    After displaying a single contour plot a number of times, LabVIEW crashes and reports a memory overflow error.  I only load a single 2D array, never storing previouls ones. I always index the data for contour plot 0, and don't explicitly store multiple 2D arrays in any buffer, such as appending data to a shift register.  There appears to be some sort of memory leak in LV when using this feature.  Is there a programatic way to flush the stored data in a contour plot prior to displaying the next 2D array of data?

    Hello MicTomReiSr,
    Is this in the LabVIEW development environment?  Are you making changes to the code and then running the VI?  Does the plot contain default data? Is the indicator cleared when the program stops?  The Plot Clean Data method may be what you're looking for.
    Remember that the development environment maintains an undo history of the changes you've made, and copies both the block diagram and FP contents each time.  If you have a lot of data displayed on the front panel you end up copying it multiple times.  This isn't a problem unless you're actively editing the VI in question.
    If you do need to edit and run the VI at the same time (perfectly reasonable, although you might want to consider a 64-bit installation or more RAM if you commonly work with resource-intensive data types like 3D plots) try reducing the Undo history length (Tools>>Options), although be aware that you won't be able to back up as many steps.
    Regards,
    Tom L.

  • Flex 3 : Contour Plot Chart

    Hi,
    I have been tasked with a project where a contour plot chart is required like the one below. Does anyone know how this coould be done in Flex or are there any third-party components available to do this?
    Thanks very much for you help.
    Martin

    Hi Subeesh,
    Thanks for the info but it's not a radar chart. What I am looking for is more like --> http://www.singleton-labs.com/mcharts.php
    Martin

  • How to draw 3D/2D Surface Chart and Contour Plot using MSCHART

    Hello all
    i want to draw 3D/2D surface chart and Contour Plot using MSCHART, is that possible ?
    Please help me to sort the issue. Is there any like ?
    Thanks in advance

    As founder of Gigasoft, add our
    MS Chart Alternative to your research.  Quick 18 meg no hassle demo download will prove our bits beyond any words or pictures.

  • Create contour plot

    Hi,
    I'm trying to create a contour plot from data stored in a measurement file (lvm).
    The data file consists of time (x), size (y) and a concentration corresponding to each xy.
    I want to show the concentration in colour intensities and not as numbers.
    I've started with the "read from measurement file", but I don't know how to convert the data that is read to a x, y and z-vector, to be able to plot it afterwards .
    What graph can I use best to plot the x, y, z vector? A 3d surface Active X container?
    Thank you in advance!
    Evelien
    Attachments:
    contour plot smps.vi ‏44 KB
    SMPS 22-09-09 dN-dlogDp.txt ‏344 KB

    Kevin Smith, Kirinos Engineering:
    Phone: (408) 739-4706, FAX: (408) 739-7925, e-mail: [email protected]
    has written a package for contouring.
    My info stems from ltr 1995 but I believe he is still around
    greetings from the Netherlands

  • 3D contour plot of an image

    Hi,
    I want to plot a 3D contour plot of intensity in an image. I've attached a sample image. Awaiting for suggestions.
    Thanks.
    Solved!
    Go to Solution.
    Attachments:
    2009-01-17-15e35e40e,49_307.png ‏241 KB

    Hello aveo,
    how about using the "IMAQ 3D View". Please see the attached code saved for LV2010.
    Does this suit your application?
    Best regards,
    K
    https://decibel.ni.com/content/blogs/kl3m3n
    "Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
    Attachments:
    IMAQ3D.zip ‏448 KB

  • 2d contour plot with variable x,y spacing

    Hi
    How do I create a 2d contour plot with the the x-y values spaced at irregular intervals? Intensity plots appear to require equally spaced data.
    Any ideas
    Thanks
    Willem

    Hi Willem,
    You are correct in saying that intensity plots require regularly spaced data.
    The easiest way to get round this is by padding out your data so that it is regular.
    Does your data have a common multiple, if so you can simpley scale it by that factor to make your data regular.
    Emma R
    NIUK & Ireland

  • Does DIAdem support polar 3d contour plots, i.e. f(r, phi) instead of f(x,y)

    Hello
    I need to plot a flow velocity profile across a circular tube. Coordinates will therefore be not in x,y (easy job for DIAdem, I know) but in r and phi.
    I could convert the radius and angle information to x and y coordinates, but then they will not be evenly spaced and the axes will not reflect the set-up.
    Any idea?
    Thank you
    Michael
    Solved!
    Go to Solution.

    Hi Michael
    No, DIAdem does not support r, phi in 3D plots. But you can find an example in DIAdem which shows you how to display this in DIAdem. To find the example start the ExampleFinder, open new examples for version 10.0 and then select the example "ASCII File Loading and 3D Display". You will find most of the functions that you will need for your question.
    Hope this helps
    Winfried

  • How to plot contour using time stamp

    Hello,
    I need help on the following:
    I acquire size distribution data each minute from a particle counter. I would like to plot the data as a contour plot using time stamp on the x-axis, the size bins on the y-axis and the 2D data on the z-axis. I cannot get the contour functionality in LV 2011 to accept the time stamp format. I did change the format of the x-axis to "absolute time" but it still doesn't work, see simplified diagram below.
    Any advice on reformatting a time stamp to something the contour plot understands??!?
    Thanks a lot,
    Claus
    Attachments:
    countour.png ‏20 KB

    Milan R wrote:
    Hi Mogensen!
    You could use the "To Double Precision Float" vi to convert the timestamp to a double prescion number as mentioned in this forum post "time stamp to number function". As mentioned in that forum, the number is based on the LabVIEW epoch date so you can use it to compare values taken at a specific time.
    I can't look right now but will that work?
    I thought the 3D stuff was single and the magnitude of the time stamp would swamp the difference in time stamps.
    Just thinking out loud.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Contour/3D Plot for a circular surface

    So I know that similar questions to this have been asked a few times, but I figured it'd be more helpful if I posted my specific goal since I'm still a bit new to this:
    I have a program that collects a set of data, degree position and surface height, for a circular object that rotates through 360 degrees.  The object itself has 5 probes evenly spaced from it's center to it's outer edge, which collect this data.  Each probe collects 3600 data points (0 to 360 degrees, .1 degree intervals). 
    Anyway, what I'd like to do is graphically represent this surface via a 2D contour plot, and possibly through a 3D plot as well.  I want to know what would be the best approach to do this.  The plots will be displayed through an executable distribution of my program. 
    2-D Contour Plot (looking for something similar to matlab contour plots): 
    Is the conensus that the scatter plot would be the best option for this purpose (looked through the contour vi)? 
    Will I have to convert degrees to x and y coordinates and then just create my own custom degree scale (maybe just an image) for the drawing?
    How are the contour rings (in my case 5, representing the data from each evenly spaced probe)  put together? 
    3-D Plot
    If I want a 3-dimensional image of the surface based on the data, what would be the best method/ plot type to use? 
    Are there any 3-D plot types that offer the ability to rotate the object?
    Any comments would be appreciated, thanks. 

    So I've run into a few problems attempting to create a 2-D contour plot using the intensity graph solution. 
    As it turns out, since the intensity graph uses an array to specify the position of each point, I had to do a bit of coercing of my data (consisting of 3600 points).  Basically I wanted each data point to correspond to a different index of the 2-d Array, but there isn't enough memory available to create arrays of the size I would need (around 10,000 x 10,000 to have a unique index per data point intensity).  Is there away around this, or should I just ignore this and assume the effect on my contour plot will be negligible? 
    Second: Is there a property/method I can use to make the nonzero points of my intensity plot thicker? 
    Third and most importantly:  The partial solution I have so far only draws the first ring (for first column of data).  I need to draw four more rings (other four columns of data), each successive ring inscribed at the inner edge of the previous ring.  What would be the best method to go about doing this (case structures, state machine architecture, nested for loops)? 
    Ideally, the contour plot would look very closely to the one I've attached in the gif. 
    Attachments:
    contourprob.vi ‏24 KB
    example.txt ‏88 KB
    sample contour.GIF ‏38 KB

  • How do I plot three 1-D vectors into a surface plot?

    Hi everyone,
    I have programming experience but am completely new with LabView.
    I have data files that contain the same wavelength range on the first column, light intensities on the second column, and each new text file is at a different angle. The respective angles are written as headers for each file.
    I've extracted wavelength, intensity, and angle into distinct 1-D vectors and want to plot them all on a 3-D graph.
    I've tried using scattered plots in vector form, contour plots, plot3Dmesh, etc, and I've googled extensively and have found similar questions but no answers.
    Does any one know where I can view specific examples or how to go about this?
    Any help would be greatly appreciated!
    -Michael
    Solved!
    Go to Solution.

    Hi Joe,
    Thank you! That worked. It enlightened me a bit more about shift registers as well.
    The reason I'm taking both the angles and wavelengths from the same column is because the angles are the first value on the numerical header. The wavelengths (and intensities) all begin from row 3 so I just set the read from measurement file VI to start there.
    There's one odd thing about the plot. Everything looks fine up until it hits ~340 on the wavelengths. All the angles are read and intensities for wavelengths between 260-340 nm. But the wavelengths range from 260-680 nm. I've been playing around with the shift registers insert into array functions, but I can't figure out what's stopping it from plotting the remaining intensity curves after 340 nm. I suspect it has to do with the number of times the for loop runs, but I thought the list folder files function took care of that. I tried wiring the file count output to N on the for loop but it didn't make a difference. Any thoughts on this?
    Note: there are 176 angles, from 0-175. there are around 400 wavelengths, from around 260-680 nm.
    Thank you so much!
    -Michael

  • Legend for a 3D Surface Plot

    How can I create a legend for a 3D surface plot? I'm doing a xy-projection and the view direction is directly towards this plane. The plot style is a surface contour plot. I want to display next to the plot the legend in a separate bar where the different colours with each value are displayed. The value for each contour line shall be displayed in the legend.
    Patrick

    OK,
    I remember that thread now. That was the one were you did not want to use interpolate colors and I did. Well I still  like to interpolate colors but that presents another challenge when trying to produce a proper color ramp. Without resorting to using the picture control
    http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=14&jump=true
    I decided to play with some of the built in objects.
    All of the round objects like knobs and guages include a color ramp. This gave me a ramp but is not quite up to what you get with an intensity graph.
    Since I could not get a ramp on any of the straight indicators like sliders etc, I hid most of an intensity graph and just use the Z-scale. It turns out that the same data structure can be used in the intesity graph as the guage.
    Can anyone think of other ays of producing a proper color scale when intepolation is turned on?
    Ben
    Message Edited by Ben on 12-24-2005 08:03 AM
    Message Edited by Ben on 12-24-2005 08:03 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    Scale.vi ‏81 KB
    Scale.JPG ‏111 KB

  • Help in contour maps in labview

    Hi,
    I am trying to program an aplication that gives a contour map of a data matrix. The matrix is calculated for each sample data(from force sensor) and changes with time as the sample data changes. I need the garph to change in real time on the screen. the graph should look like the output of the function "contourf" in MATLAB (I had attached an examole of it).
    If anyone has an idea how to do this, or if you have vi that does it please help me.
    Thanks
    Attachments:
    stress_analysis.jpg ‏140 KB

    The closest standard LV indicator is the intensity plot graph. However, it uses the index values as x and y coordinates, and is unable to interpolate unpopulated array elements. So, forget it !
    The best approximation to the Matlab contour function that I could find is the 3D graph, used unconventionnally : If you use only the projection on the XY plane, and ask for a contour plot, you get something rather similar to the "contourf".(see Ben, the seed is growing...)
    See the attached vi. You can right-click the graph to access the display options (in CWGraph3D>properties...)spec illy if you need to modify the contour number/distance.
    The graph is disabled to avoid changes in the orientation by innapropriate user clicks.
    I know, the display is not that nice : no way to change/hide the border; The x axis labels cannot be turned to get a conventionnal aspect, and so on...
    But this is apparently the best that you can get from LV...
    Hope this helps.
    CC
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Contour 2D (faked).zip ‏13 KB

  • Contour with generated Isoline in View - Script

    Hi,
    I'm trying to generate  an contour-plot in View with a script. Thats what I have:
    Call View.Sheets.Add("dp(4l,2l,)_dp(4l,ein)") '... Neues Blatt im View erstellen, wird automatisch aktiver sheet
    Dim oMyArea: Set oMyArea = View.ActiveSheet.ActiveArea '... Objekt für aktiven sheet
    oMyArea.DisplayObjType = "Contour" '... Contour einschalten
    Call oMyArea.DisplayObj.ContourCurves.AddContour("dp(4l,2l)","dp(4l,ein)","Volumenstrom") '...x,y,z Datenreihe hinzufügen
    oMyArea.DisplayObj.ContourCurves(1).Structure = "Triplet"
    Dim oMyIsoLine
    Set oMyIsoLine =  oMyArea.DisplayObj.ContourCurves.AddIsoline(1,4)
    oMyIsoLine.DisplayIsolineValues = "true"
    I want autogenerated isolines, like I can chose in the dialog. How can this be done by script? AddIsoline takes only data-rows. I tried to change oMyIsoLine.Type to "calculated" but I can't write this field.
    Does anybody know how to do this? I als tried to record my actions in the dialog, but this didn't work, actions within a dialog are not recorded.
    Thanks,
    Henning

    Dear OWB Support Group
    Are there any plans to fix this issue in future releases, like 10g Version 2?
    Has this been reported as a bug? Bug #?
    Thanks for the feedback.
    Gary

  • Thin lines in pdf file displayed on mac

    Hi,
    I don't know if this is the right place to bring this up.  So redirection elsewhere is appreciated!
    I've noticed a problem with displaying certain pdf files on a mac.  The files are 2D filled plots produced by the free scientific software Yorick (http://yorick.sourceforge.net/).  It happens when I view it in Preview or Powerpoint on a mac.  But not if I use a pdf viewer on a unix system.  The yorick source code for a simple example is below.  I can't find a way to attach files to this messages or I'd include the pdf's.  Is there a way to do this?
    Both png's are fine, and the pdf of the pli plot is fine.  pli assumes uniform grid spacing, is fast, and must use different graphics primitives than plf, which does not assume uniform grids (i.e. you can have non-square elements).  In this case both x and y grids really are uniform.  The problem is with the pdf of the plf plot.  Look at it in Preview, you should see some thin lines.  Put it in powerpoint and the same.  If you put some solid colored box in back of it, you'll see the color.  So the lines are transparent or something.
    David Munro, the creator of Yorick, suggests it's an issue with anti-aliasing.
    Anyway, the problem isn't that severe in this example, but in others (which don't have simple source code) it's more annoying. 
    Either way, any advice on this, or the right people to report this to, is appreciated.
    Cheers,
    David
    // 10dec10: bug of contour plots in pdf's having white lines on mac
    x=span(0,3,21);
    y=span(-2,2,30);
    x2 = x(,-) + 0*y(-,);
    y2 = 0*x(,-) + y(-,);
    z2 = exp(-x2^2-y2^2);
    fma;
    palette,"rainbow.gp";
    pli, z2, x(1),y(1), x(0),y(0);
    cd,"~/yorick/pdf-mac-bug";
    pdf,"pdfmacbug_pli.pdf";
    png,"pdfmacbug_pli.png";
    fma;
    palette,"rainbow.gp";
    plf, z2, y2,x2,;
    cd,"~/yorick/pdf-mac-bug";
    pdf,"pdfmacbug_plf.pdf";
    png,"pdfmacbug_plf.png", dpi=150;

    As I suspected, the problem is that the other viewers are not savvy enough to handle the "stitching problem".
    What looks like a single image is really a WHOLE LOT of single squares.  I took a snapshot of the Edit Object tool in Acrobat with all the objects selected.  See <https://photos-3.dropbox.com/i/o/R6asqv64sEP1Tf7eIEBfNbFbMw0F7qKEaFwfnXQVKLo/1644474/12950 96400/0fa9181>.
    As you can see from that, each square is a separate image that needs to be rendered and if the viewer doesn't understand how to proper stitch the pieces together then you will get empty pixels (which appears as white lines).
    Either contact the author of the program that authored the document and see about getting that fixed (if it's not you) and/or contact the other viewers about improving their products.

Maybe you are looking for

  • SAP NOTE for COMPUTE_BCD_OVERFLOW in include LM60EF0C

    Hello friends, I am getting dump COMPUTE_BCD_OVERFLOW in include LM60EF0C of standard program  SAPLM60E. Error position -->  ADD L_PBET-PLNMG TO LV_GESAMT_PLNMG. The above code is added in sap program in note 671875. I am not getting any correction n

  • ActiveX and Company Object

    Hi out there! First, thank you all for this great article right here: [Creating Active X|Re: Creating Active X] Now we are close to a perfect running activex-object in SAP close means for example the following problem: We have a running addon, which

  • IOS7 Mail: "Dieses E-Mail hat keinen Inhalt" message wrong

    On serveral occations i get the message "This E-Mail has no content" from my iOS7 Mail App. When i open the same Mail form my Apple Mail Desktop client or outlook, i can see the content of that Mail. What goes wrong?

  • Gcc: command not found problem

    Hi, i just full installed cygwin 1.5.5-1 'cause i need to comiple and build a dll so i need to use gcc but in response to this command: gcc helloworld.cpp i get: bash: gcc: command not found Is that a windows xp problem or do i have to somehow config

  • Can't change master file date/time

    I am unable to change the date/time of any master photos using Aperture 3.3 under OS 10.7.1 (Lion), although I can change the date/time of versions.  This is the case on both my Mac Mini and MacBook Pro.  I have the same version of Aperture on anothe