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

Similar Messages

  • How do I include a drop shadow effect when I import an Illustrator vector into Edge Animate?

    How do I include a drop shadow effect when I import an Illustrator vector into Edge Animate? It should be noted that I also have another effect (an extrude & bevel) applied which does copy over when I paste (or create an SVG and import) into Edge Animate. Any thoughts on why the drop shadow disappears but the extrude & bevel carries over?

    Which version of Illustrator are you using?
    In earlier versions of Illustrator it is not that easy to apply drop shadows with spot colours.
    Another reason why it's always important to tell which version of AI … well …

  • How do I combine three itune accounts into one? Then have three different family member have three different log-in's to sync many different devices to the same itune account ?

    How do I combine three itune accounts into one? Then how do I set up three users for the one Itunes account on ONE Mac Pro Computer with one Itunes program? We are one family with 3 I-Phones, 2- I-Pads, 2- Lap tops and 3-I-Pods and would like to use one main computer to sync all our devices to.

    "How do I combine three itune accounts into one? "
    You cannot.
    "Then how do I set up three users for the one Itunes account on ONE Mac Pro Computer with one Itunes program?"
    You can copy all of the music to one computer and set up different users see:
    Learn how to set up additional user accounts.
    How to use multiple iPods, iPads, or iPhones with one computer

  • How do I combine my three apple id's into one account, purchases?

    How do I combine my three apple id's into one account, purchases?
    These apple id's used different email accounts.
    I would like to close down the two other apple id's and use only my iCloud account.

    Content and Apple IDs -
    Content is forever tied to the Apple ID that bought it. Apple does not transfer content from one Apple ID to another. Apple does not merge Apple IDs. You will never be able to access your content bought with another Apple ID with a new Apple ID.
    The only way to get down to one Apple ID is to abandon content from the other two, or abandoning the idea of ever updating anything from the other two.

  • How do i connect three external monitors to a macbook pro?

    How do I connect three extrenal monitors to my Macbook Pro?

    I have a USB to DVI adapter from kensington. I use to use it to power at 14" display.Moving windows around had some tearing and lag. Typing lagged, but it was use-able. It was fine for displaying diffrent stats. The OS treated it as it would any additional display.
    But I found it undesirable for any thing tha requires lots dragging and clicking.
    Every so often the device would lock up. At witch point the computer would get stuck trying to detect the USB display. I would have to unplug the adapter, cycle the power on the adapter. And then it would be good for a couple more months.
    Also some times after a reboot, the adapter would stop working. I would have to unplug it, and login, and then plug it back in.
    Coping file to my USB 2 harddrive seemed to cause more lag to the USB to Video Adapter.
    About the idea of dasiy chaining 3 Thunderbolt display tgeother. Apple Thunderbolt Display (27-inch): Connection options for Thunderbolt Macs states the most the current MacBook Pro 15 & 17 inch can currently drive is 2 Apple Thunderbolt Displays.

  • How to delete the values of a vector of map with some conditions?

    Hi Friends!
    I have three map<int, vector<int>>
    mainmap, m1, and m2.
    m1 contains;
    2=>9  16
    3=>11  16
    4=>13
    mainmap contains; (keys of m1 are selected out of keys of mainmap)
    1=>10  13  0  12  15
    2=>12  0  0  11  0
    3=>13  0  0  0  0
    4=>14  11  12  0  15
    m2 contains; (keys of m2 are the values of mainmap)
    11=>9  16
    12=>3  12
    13=>11
    14=>3  9  16
    15=>1  3  6  9  16
    I want to execute the following tasks;
    first, pointing key '2' from m1 and the correspondent vectors are selected from mainmap with same key '2' (12  0  0  11  0).
    second, out of the selected vector(keys of m2) are selected to compare the values of m2 and values of m1.
    here ;
    11=>9  16
    12=>3  12
    are selected.
    Out of these selected figure (11=>9; 12=>3  12) if the value (9, 16) are fully matched, that key '11' is selected.
    Suppose, in case the selected figure is (11=>9; 12=>3  12), that is partially matched as only 9 is available, then 16 is deleted from the value of 2 in m1, and select the key '11' from m2.
    Then, it continues up to key '4' in m1.
    Could anyone help me to solve this?

    Hi Friends!
    I have three map<int, vector<int>>
    mainmap, m1, and m2.
    m1 contains;
    2=>9  16
    3=>11  16
    4=>13
    mainmap contains; (keys of m1 are selected out of keys of mainmap)
    1=>10  13  0  12  15
    2=>12  0  0  11  0
    3=>13  0  0  0  0
    4=>14  11  12  0  15
    m2 contains; (keys of m2 are the values of mainmap)
    11=>9  16
    12=>3  12
    13=>11
    14=>3  9  16
    15=>1  3  6  9  16
    I want to execute the following tasks;
    first, pointing key '2' from m1 and the correspondent vectors are selected from mainmap with same key '2' (12  0  0  11  0).
    second, out of the selected vector(keys of m2) are selected to compare the values of m2 and values of m1.
    here ;
    11=>9  16
    12=>3  12
    are selected.
    Out of these selected figure (11=>9; 12=>3  12) if the value (9, 16) are fully matched, that key '11' is selected.
    Suppose, in case the selected figure is (11=>9; 12=>3  12), that is partially matched as only 9 is available, then 16 is deleted from the value of 2 in m1, and select the key '11' from m2.
    Then, it continues up to key '4' in m1.
    Could anyone help me to solve this?
    1. Did you mean
    "Out of these selected figure (11=>9 16; 12=>3  12) if the value (9, 16) are fully matched, that key '11' is selected."
    2. When you say fully matched or partially matched, do you mean just in key 2 of m1?
    3. What happens if there is no match?
    4. What does it mean to say that a key from m2 is "selected"? What happens to keys that are or are not selected?
    5. If the result of this exercise is a change in the three maps, you should at least tell us what that change is. If the result is some other data structure, then tell us what it is.
    David Wilkinson | Visual C++ MVP

  • How do I convert a pdf to vector in illustrator?

    how do I convert a pdf to vector in illustrator?

    The artwork in the PDF might already be a vector graphic.
    If not you need to trace it either automatically or manually

  • How to store data from textfile to vector and delete a selected row.

    Can someone teach me how to store data from textfile to vector and delete a selected row. And after deleting, i want to write the changes in my textfile.
    Do someone has an idea? :)

    nemesisjava wrote:
    Can someone teach me how to store data from textfile to vector and delete a selected row. And after deleting, i want to write the changes in my textfile.
    Do someone has an idea? :)What's the problem? What have you done so far? What failed?
    What you described should be pretty easy to do.

  • How do to put table of numbers into a scatter plot

    I put all the numbers in the table but cannot put them into the scatter plot chart, how do I do this?

    Hi talmariexo1,
    A Scatter Plot works best if X and Y values are in Body Cells (not Headers).
    A Table with one Header Column and one Header Row:
    Column A is a Header Column (just an identifier) and does not feature in the Scatter Plot.
    Select Columns B and C, then insert your Scatter Plot.
    Use Format Panel > Axis to adjust the X and Y steps.
    Click on the plot to see Edit Data References.
    Column B is grey in this view, but is not a Header Column. Confusing
    With Edit Datas References, there are more options at the bottom left of the Numbers Window
    But that is another question
    Regards,
    Ian.

  • How to convert all white - alpha for vector image?

    I'm attempting to make a new font. Currently I've been saving all the png -> vector images that I work with as .AI files, so that I can import them into my font program later, and they open fine in illustrator. The problem is, I usually save my vector images with a white background instead of alpha. Now, I need to replace white with alpha, but I can't find a magic wand in illustrator . Any help?

    function(){return A.apply(null,[this].concat($A(arguments)))}
    I only knew the most fundamental differences between raster and vector: that raster images are saved in dots while vector images are saved in, at the simpliest, lines.
    Not "dots";  pixels. Pixels are simply color values. That's all. Raster programs arrange color values in a rectangular grid of same-size rectangles (usually squares).
    Not "lines"; paths. Paths are discrete individual objects. Paths are stacked, independently moved, freely arranged, scaled, filled, stroked, and otherwise manipulated as individual objects.
    function(){return A.apply(null,[this].concat($A(arguments)))}
    But I'd have thought there was a way to quickly delete the white lines
    There is no "vector image" with a background. Where there are no objects, there is no "background." If a path is there, regardless of whether it has a white fill, a white stroke, or fill(s) and/or stroke(s) of any other color or no color at all, the path is there and can be deleted. (Again, there is no substitute for learning to use the program from the documentation.)
    Technically, paths are mathematically-defined curves. So even a "straight line" is a path, and is technically a curve. The specific kind of mathematically-defined curve used in programs like Illustrator is called a Bezier curve.
    function(){return A.apply(null,[this].concat($A(arguments)))}
    I have no idea how hard it is to create a vector image from scratch.
    It's not rocket science. Anyone can learn it. But again, you have to learn it. There is no substitute for learning to use the program from the documentation.
    function(){return A.apply(null,[this].concat($A(arguments)))}
    I myself am mostly a newbie in both hemispheres of the graphic design world.
    It shows. And there's certainly nothing wrong with that. We all started as beginners. I'm not trying to belittle you: I'm offering you sound advice that will serve as a very valuable shortcut to becoming more than a beginner (if you will accept it) without an unnecessary amount of fumbling around with bad practices.
    Just don't ever claim to a client or in a job interview to know anything at all about any mainstream general-purpose vector drawing program (of which Illustrator is just one) until you are proficient at drawing Bezier curves. That's prerequisite. It's lesson one in chapter one. Might as well start there. Start at the correct beginning and you'll know all the answers to the questions you have asked in this thread. Your understanding of "background" and things like why a region with no objects is not the same thing as an alpha channel in a raster image will come very early if you just start at the beginning. You've got to learn the lay of the land. Start at the beginning.
    function(){return A.apply(null,[this].concat($A(arguments)))}
    In any case, I use a program called vectormagic that does the work for me pretty well, so you might want to check it out.
    Trust me; I'm familiar with it. It's just another autotrace program. I know what it does. I know how "well" it does it. Everything I said in the previous post stands.
    Vector drawing programs are not the kind of program you learn by just launching it and poking around. Not if you want to avoid endless confusion and frustration. Asking random questions in an online user forum (in which wrong "answers" are just as common as right answers) everytime you encounter a point of confusion is just as inefficient. Read the documentation.
    JET

  • How can I combine three completed projects with text & sound to make one single movie?

    How can I combine three completed imovie 09 projects (They all have text & sound) to make one single movie? Thank you for any help you can give.

    If they are three separate projects than you will have to export all three as video files. Then you can reimport them into a new event, join them together as if they are ordinary clips, and export that.

  • How do i export verilog or verolog-AMS vectors into PXI

    i am looking to export verlog test vectors (or verilog-AMS test vectors from cadence) into PXI.
    how do i go about doing that ?

    Hello Kingb/Bj93081,
    I believe you can import the test vectors into LabVIEW to be used with your PXI-6552. In order to import this into LabVIEW, you will have to have LabVIEW open and read the data for the file that have these test vectors in it. In order for LabVIEW to do this, you will need to see how the data in saved in the test vector file. So what type of file is the test vectors saved in, Binary or ACSII? Does this file have a header on it? These questions will affect how you will get this information in LabVIEW to be used with the PXI-6552.
    I will admit that I am not as familiar with these Test vectors so could you explain how these will be used with the PXI-6552? I could provide some insight on how to implement this.
    Jim St
    National Instruments
    RF Product Support Engineer

  • HT1937 How to unlock a three Mobil. Phone .  And what do I do when they give me the code?

    How to unlock a three mobile. IPhone 4 GSM And They sent me a code what do I do with it ?   3 mobile are very vague on this 

    There is no "code".
    Information on how it works can be found here: http://support.apple.com/kb/ht5014

  • Maximum matrix size for surface plot?

    Morning,
    I've streamed data from an experiment to TDMS, and would like to display it in DIAdem. I have M channels of N data points and would like to display them in a surface plot.
    Usually, I'd expect to do the following:
    - Build a X axis (Generate Numeric Channel - N points at dX interval)
    - Build a Y axis (Generate Numeric Channel - M points at dY interval)
    - Build a Z matrix (Convert Matrix from X axis, Y axis and the M channels of N data points)
    I can then plot the X Y Z triplets to a surface plot.
    Alternatively, I can build the X and Y arrays and plot X Y Z in matrix mode. This has the added benefit of not forcing interpolation, which *always* crashes
    Now the kicker. For my dataset, M = 192, N = 290 000 and I'm unable to plot more than the first 20% of the data in X. I suspect that Diadem's limited to displaying 2^16 in surface plots, but no error is returned. Does anyone know if this is the case?
    I can decimate my data to fit the limit, but it's never nice to have to throw away data!
    (For clarification, the data is a raster scan of a sensor over a surface. I could drop the sampling rate and/or increase the speed over the surface, but that's a secondary concern)
    CLD

    Actually, it's the creation of an intensity plot that I'm more interested in, for two reasons. I can split my data into smaller segments and then compare measured data against my CAD model, but it's also handy having the global intensity plot available for human overview. Amusingly, almost any way I try to split the data besides decimating means that the split between datasets will be in some region of interest, which makes it awkward for non programmatic review  Meanwhile, the problem with decimation is that I have four channels of data for each of those slices: channels 1 and 2 are analogue signals and averaged to give one plot, channel three is another analogue voltage that is plotted in another, but channel four is a digital waveform with some pretty short pulse widths. Decimate too much and you'll barely see any meaningful data when plotted on an intensity plot for this.
    My instinct before starting was that DIAdem would handle the large dataset better than LabVIEW, which it did if I only wanted to plot YT data. However, after changing tack and heading back to LabVIEW I found that it was able to churn through things a bit better.
    I'm happy to send an email to describe what I'm doing in a bit more detail, as well as provide some of the resulting plots, as it's a sensitive project. Understandably, even if I could upload the data for someone else to work on, I'm not sure how much use 1.7 Gb of TDMS is to anyone else!
    CLD

  • Creating a surface plot in Illustrator

    Good morning, new to this forum.
    I have a number of tools for plotting XYZ surface data (Z is the elevation and drives colour), however I'd like to be able to overlay a surface graph on other things, like a visual photo of the area. Illustrator has a number of graph options, but I can't seem to see an XYZ surface option.
    Any advice on how to do this with Illustrator or available plug-ins?
    Thanks
    -John

    > I'd like to do it in Illustrator as a graph instead of imported image...
    If you are not talking about importing an image (the photo of the object), then what do you mean by "superimpose"?
    Also don't know what you mean by "as a graph." Illustrator has a rudimentary graph feature. It's data table can contain three columns, and you can enter color values in one of the columns. But there is no built-in mechanism for using those values to determine the color of a data point.
    The best I can decipher what you want to do is this:
    You have a 3-column table: X distance, Y distance, ZColorNumber.
    You have said that your plotting software
    does already have the ability to colorize the XY datapoints according to the values in the Z column.
    You now want to simply superimpose the XYZ plot on top of a photo of the object. That should be a simple matter of exporting the plot in any graphic format that Illustrator (or Photoshop) can import, importing it, importing the photo, and aligning the two.
    Is that what you're talking about?
    Or is there some reason you need to have the three columns of data as live data within Illustrator?
    If so, that would not be difficult to do with Javascript. You could:
    1. Import the photo.
    2. Import (copy, paste) the three columns of data into an ordinary text object as tab-delimited text. The Z column could be expressed in terms of hexidecimal colors, or RGB colors, so long as the expression conforms to the syntax of Illustrator's Javascript color values.
    3. Write a script which would:
    Use the lower left corner of the photo as the origin.
    For each row (paragraph) in the text object:
    Use the values of the first column as X distance offsets (either absolute or relative to the photo width)from the origin.
    Use the values of the second column as Y distance offsets from the origin.
    Create a path (circle, for example) at the XY coordinate pair.
    Assign the Z value as the color value of the path.
    Is that what you are trying to describe?
    JET

Maybe you are looking for

  • Adobe PO Form in SRM

    Hello Frn's. I  am creating a z Adobe by copying a exisitng PO Adobe form (bbp_po_adb) . Beacuse i need some more fileds calculation, so have to  create a Z interface as well by copying a existing interface (if_bbp_po_adb). But then i need to impleme

  • Can he block my iphone with the serial number

    Hi to all. while ago i had bought an used iphone 4 without the bill and i have some questions not resolve with the seller. Mine question is can he block my iphone with the serial number or IMEI? The iphone as IOS 7 and is register to me with the opti

  • Help updating...

    I know I'm probably going to sound like an idiot for asking this, but how do I update from v4.0 to v4.0.1? I've tried just clicking "software update" under the Apple menu, but it didn't come up with it... Basically, I bought a 13" Macbook Pro yesterd

  • MSS Overview page

    hi, We have to implement old and new MSS business package as Web Dynpro(new) business package does not provide all the services. So my question here is how to make a comprehensive overview page. What is the best way to make an Overview page with serv

  • Search Receipt by Purchase Requisition (PR) Number

    Hi, I need to Search Receipt by Purchase Requisition (PR) Number. eg. for PR 10001203 i need to know items in this PR have been received to the inventory or not. Please help me find a solution. Thanks JB