Plot question

So I have two one-dimensional arrays which have the same length. One contains the frequencies -I want this array to be my  x axis. The other contains the values that I want to be in the y -axis. How can I plot this in a xy plot? Thanks.

LC Champion sounds like those mythical figures on the top of mountains somewhere where there is a lot of clouds.
Well recently I moved back to the LV-NI paradise after a 5 year hiatus (from engineering to education field, now back to engineering). I am a biomedical engineer by training, now serving as a Test Engineer for a Fiber Optic Sensor company. Recently got certified as a CLAD, and currently I am preparing for CLD exam.
Well, I bet I will see you in NI events around town. Recently I went to LabVIEW Developer day and Medical Devices seminar in SD. Where you there?
Anyway, nice to "meet you" and hopefully you will continue your wonderful contribution to this forum.
Best,
Santiago

Similar Messages

  • Scatter plot question

    I have the new NUMBERS app (3.5.2) on my Mac.
    I want to plot X and Y data points. I think this is called a SCATTER PLOT.
    But all data points in the graph are one color/ one symbol. See below. For 3 data points this may be fine BUT I have 50 data points.
    I want to be able to have different colors for each data point plotted in the graph.
    If I create a table of data as per below image, would this solve the issue? If so, what type of graph do I plot?
    I have tried lost of variations and even in EXCEL but nothing seems to be graphed.
    Thank you.
    Michael

    This is how charts work. That includes Numbers, Excel and other spreadsheets.  A column of values is called a series and all data points for a series will be the same color.  I think it will be difficult to tell the variation in colors for 50 different colors and it will take a while to create it. I believe Numbers starts repeating colors after a while (I can't remember how many series before it repeats)
    Assuming your first column is your X values, keep that column as a single column like in your first  screenshot.  Each data point that is currently in your second column will need to be in its own column (but on the same row as before). You may have to  "Edit Data References" on the chart and select to plot columns as series (found at the bottom-left of the Numbers window) or it will assume you are plotting "rows as series". And you will have to manually change the colors of nearly all the data points on the chart if you want 50 different colors.

  • Thermocouple Multi Plot Question

    I have a Keithley 2750 with a 7708 card in the first slot.
    I have no problem getting the readings, but when them come in, I want to index them based on their channel, which theoretically should happen by using 0 and 1 with the index command.
    If this isn't possible or there is an easier way to gather readings by channel, any help at all would be appreciated.
    Code is attached.
    Thanks in advance.
    Kat
    Solved!
    Go to Solution.
    Attachments:
    Keithley Thermocouple Multi Plot.vi ‏36 KB

    The problem is with the array that's produced.
    For this to work right, it should be a column with row 1=channel 1 and row 2=channel 2
    Because of the continuous read they switch sometimes, which makes plotting them near impossible.
    Simply put, I need to sort the data by channel so I can plot it properly, but neither I nor my mentor could figure out a way of doing that.

  • Stacked Plots Question

    I'm working on a project based on the Continuous Data Acquisition
    sample that shipped with Labview 7. My problem is that when I try to
    plot multiple channels of data using the "Stacked Plot" property of
    the Waveform Chart, I still get overlaid plots. The input to the graph
    is the 2D array created by the example. Is there any way to get a
    stacked plot here?
    Many Thanks!
    Dan

    You might need to convert the array to cluster before feeding in to the chart... here is example for 1D stack plot
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com
    Attachments:
    StackPLot.vi ‏58 KB

  • Illustrator Plotting Question

    I am plotting illustrator work on a plotter.
    As you might know a plotter reads paths.........what i need help with is this....i have several overlapping boxes......that form an overall shape that I only want the outside perimeter to plot......so i combined the paths in illustrator....unfortunately it doesn't do away with the inside paths (where the shapes overlapped).
    So when I go to plot, I get the shape I want but it has cut lines on all of the paths.  How can I get rid of those inside paths in my group of objects so only the very outside path shows?
    Any help would be appreciated..

    I responded to a private message on this one
    1. Copy the art
    2. Paste in front
    3. While the copy of the art is selected go to the pathfinder and use the Unite tool
    4. Give the resulting shape an offset sufficient to clear the strokes along the outer edges of the origianl art.
    5. Use this path as the cutting plot.

  • Plot y vs x

    Hi Guys,
    I have a plot question,
    I have two different signals and I'd like to plot Y vs x, without using a x-y graph, since it won't log the history.  The data I am getting our single data points from two different channels, i'd like to plot them against each other..  Is there a way i can accomplish this? Thank you..

    open your example finder and look at the xy-chart example.
    LabVIEW Champion . Do more with less code and in less time .

  • Simple Flex Chart question - Plot Chart labels

    I'm playing around with displaying data from WDA as charts in Flex 3.
    I'm able to bind my internal table, which has 3 fields, to the plot chart.
    The table looks like this
    ext_id      type string    " bound to prjname in Flex
    cost         type string    " bound to prjcost in Flex
    benefit     type string    " bound to prjbenefit in Flex
    These are all bound to my island's DataSource.
    I have bound these in Flex and the Cost and Benefits are showing up as points on my chart. However, I can't seem to get the Project Name to display on the plot points. All I see when I mouse over the point is EXT_ID, and the values for cost and benefits.
    The cost/benefit values are coming across correctly, just not the project name (ext_id) value. any ideas?
    here's the Flex code for the chart
         [Bindable]
         public var dataSource:ArrayCollection;
         [Bindable]
         public var prjcost:String;
         [Bindable]
         public var prjbenefit:String;
         [Bindable]
         public var prjname:String;.
        <mx:PlotChart id="plotchart1" dataProvider="{dataSource}" showDataTips="true">
           <mx:series>
                <mx:PlotSeries displayName="{prjname}" yField="{prjcost}" xField="{prjbenefit}" dataProvider="/>
            </mx:series>
        </mx:PlotChart>

    This is really a Flex question not an Islands specific one.  I don't think the displayName properity is what you want to use here.  This is the name for the entire series as it will be displayed in the legend. I think what you want is a dataTip.  You register a callback for the dataTip rendering and then fill the custom dataTip quick info.
    This is an example from a bar chart, but the theory is the same:
    <mx:BarChart id="barChart" dataTipFunction="dtFunc" xmlns:mx="http://www.adobe.com/2006/mxml" type="clustered" width="100%" showDataTips="true" height="100%">
         <mx:verticalAxis>
              <mx:CategoryAxis categoryField="{SalesOrd}" dataProvider="{dataSource}" />
         </mx:verticalAxis>
         <mx:series>
              <mx:BarSeries id="bsGross" xField="{grossAmt}" displayName="Gross Amount" dataProvider="{dataSource}" fill="{otdFill}" showDataEffect="{slideIn}"  />
              <mx:BarSeries id="bsNet" xField="{netAmt}" displayName="Net Amount" dataProvider="{dataSource}" fill="{rtyFill}" showDataEffect="{zoomIn}"  />          
         </mx:series>
    </mx:BarChart>
    private function dtFunc(hd:HitData):String {
                  switch(BarSeries(hd.element).id){
                       case "bsGross":
                             return "Sales Order #: " +  hd.item.SO_ID + "\n" + FlashIsland.formatNumber(hd.item.TTL_GROSS_AMOUNT) + " " + hd.item.CURRENCY_CODE;                        
                             break;
                       case "bsNet":
                             return "Sales Order #: " +  hd.item.SO_ID + "\n " + FlashIsland.formatNumber(hd.item.TTL_NET_AMOUNT) + " " + hd.item.CURRENCY_CODE;
                             break;                   
                  return "Amount";

  • Plotting Signal Power vs Time question

    Hello,
    Is there any way to plot on a waveform graph the power of a sinewave signal in dBm around f=36 Khz in real time? I am making up a simple example below to better ilustrate the question:
    Let's consider the signal  Power=-20dBm and is pretty constant. At this point the graph should show an almost  flat line @ -20dBm mark. When a quick power variation occurs (e.g 1ms )the graph should be able to  register this variation as a negative spike (e.g -100dBm).
    Your help is appreciated.
    Thanks

    You can do this if you have LabVIEW Real-Time and have the supporting hardware for this. You can a remote front panel application to monitor the values real-time.
    LabVIEW itself runs on Windows which is not a RT system.
    Warm regards,
    Karunya R
    National Instruments
    Applications Engineer

  • Question on Scatter Plot, among many

    I'm plotting time vs a voltage level with a scatter chart as the time the data starts with varies. The problem is the chart always start at 0 so the actual plot is **** on the right side of the plot squish up against the border. I can't see any way to adjust the x axis to the time that I want.

    Hi Mark,
    I tried plotting minutes, seconds milliseconds (X axis) versus voltage (Y axis).
    minutes, seconds milliseconds formatted as Duration > Custom:
    It worked, but as you found, I could not change the minimum X value. Also the values on the X axis made no sense to me.
    So I converted Durations to minutes. Formula in C2 (and Fill Down):
    =DUR2MINUTES(B2)
    C becomes Automatic format.
    Now plotting C (Minutes, X axis) versus D (Voltage, Y axis)
    Possible now to change the minimum value for the X axis:
    Depending upon your aim, instead of DUR2MINUTES you could use DUR2SECONDS or DUR2MILLISECONDS
    I set up a header column so I don't have to input the label on the chart. I also list Column 1 as the header on the chart.
    I am still not sure what is in your Header Column.
    Regards,
    Ian.

  • Simple plot/graph question

    I inherited the attached multi plot - originator is not here anymore. It's Monday and my brain is not functioning yet. Can someone tell me how to reduce the number of plots to 4 from the existing 9. I have done it before but, like I said, it's Monday. Thanks.
    Attachments:
    multi_graph.vi ‏24 KB

    OK - new issue with the strip chart. I'm getting multiple lines at the right hand edge of the chart. These lines tend to follow the main plot and, strangely, seem to increase in number if if I move the mouse (more appear the faster I move the mouse). I have attached a screen shot to illustrate. Is this a feature I need to turn off or something else?
    Attachments:
    Strip_chart.jpg ‏30 KB

  • Any engineering students here? Question about data plotting

    I was just wondering how you guys plot your data for work. I use Origin in XP all the time, but in OSx i haven't found a good counterpart yet. I need something that can produce plots which i can paste & reopen in MS word documents. I know Excel can do the job to some extent, but I'm looking for something closer to Origin.
    Sorry, I just realized that I probably shouldn't have posted this in the Macbook forum. But, any input will still be appreciated.

    I have to add another voice for Igor Pro. For 2D plotting it's superior to Matlab and it also provides quite a bit of analysis capability (though it is not as capable as Matlab in this area). The program is x-platform and you can easily exchange plots and data between Mac and PC versions of the program. I don't anything about Origin so I don't know if there are filters that can allow direct import/export to Igor Pro.
    When presented with data in my job I approach it this way:
    Tabular data in Excel because of the Pivot Tables and Data Filters. These are very nice tools for large tabular datasets.
    Time-series experimental data in Igor Pro for plotting, exploration, presentation and some analysis. It's easy to write a small programs in Igor Pro that allow customized data exploration. It's actually easier than doing it in Matlab because of the way you can add multiple axes to plots. And this is where I always do plot prep for publication.
    Frequency data or time-series experimental data in Matlab when I need specific Matlab toolboxes (e.g. control system, signal processing, system identification, etc.) Heavy-duty analysis is easier in Matlab -- if you own the toolboxes!
    Although you can do data reduction in either Matlab or Igor Pro (and I've done it in both of them) you're probably better off writing your own data reduction if the datasets get really big (e.g. 100's of MB or GB's per data set).
    The best part is that all 3 of these programs are cross-platform and I frequently move data and analysis programs between PC's and Macs. None of these tools, however, are professional-grade for statistical analysis. For that you still want SAS or SPSS or even R if your head works that way.

  • Simple question: Can you input an array of strings directly into your plot legend instead of "Plot 0", "Plot 1"......?

    I have an array of channel names for a simple vi I wrote and I want to input them into the plot legend.  I typically use ring controls to allow different users to select what they want to see, but beyond 3 or 4 it gets confusing.  Is there a way to take an array of strings and input them directly into the legend string slots using a property node?  I have spent hours searching to no avail.
    Thanks!!
    Adam

    Yes, of course there is! Try this:
    Message Edited by altenbach on 05-01-2009 08:45 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    PlotNamesII.png ‏7 KB

  • Dynamic cluster/array follow up question - front panel

    Thanks for the responses to my last question - they were great and fast!
    I'm still stumped on how to create the front panel. It doesn't really matter whether it is an array or cluster. It sounds like either way, once I have it I can autoindex through it. The basic application here is that I have a VI that will store one XY plot to our database. I'd like to wrap that in a VI that will take N XY plots and store them all in our database regardless of what N actually is. So in terms of creating the front panel, I tried to create an array control and drop a XY graph in it, but it doesn't seem to like that. It said that I hadn't added an element to the array. I also tried to drop a XY graph into a cluster control and that cleared the broken run arrow, but wouldn't I have to know how many XY graphs are being passed in? It seems like I'd have to put one graph in the cluster control for each graph coming which defeats my purpose? Remember I won't know how many XY graphs are coming into my VI in the array or cluster. Anybody know how I can set up the front panel?
    Again thanks for the quick replies!!!
    Best Regards,
    Steve

    Look at the attached VI.
    It has a single XY graph inside a cluster container, and that is inside an array container.
    With this setup, it wouldn't matter how many graphs you pass to the subVI since it's an array, it will take whatever is passed to it.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
    Attachments:
    XY Graph in Array.vi ‏13 KB

  • Discoverer Desktop Graphing Questions

    I have several questions about the graphing tool in Discoverer Desktop:
    1. I'm bringing in a customer id field which I convert with a to_char in the query from a numeric field. Most of them are 5-digit, but some are 4. I notice in the x-axis the customer id's appear only for the 5 digit id's, and for the 4-digit ones the identifier appears. i.e. if the 5th record has an id of 1508, instead of displaying 1508 it displays 5. Does anyone know how to correct this?
    2. In the y-axis values, is it possible to display more than 5 decimal places? (We're dealing with very small percentages). When I try to enter 6 or higher as the decimal value in Options, it says invalid number.
    3. When I open an existing workbook, it readjusts the y-axis scale to a max of 1, when I've set it to .0001. How I can I make this retain my scale values?
    4. Is it possible to display the y-values in the graph area itself next to the plot points?
    Thanks for any help!!!!

    Hi paul,
    Its a good idea to upgrade from 4i to 10g 4i is no more used by many and their are some issues or bugs with it.The latest version is 11g which has been released 1 week back.If not go with 10g version available.
    1) Do all reports have to be stored on the database to allow them to be accessed by Plus or Viewer? Can only the 10G client version open files from a local hardrive or shared network drive?Yes they have to stored in the database so any ened user can access them from plus or viewer.
    Can only one report be open at any given time with Plus or Viewer? In client it is possible to have 2 reports open at the same time to facilitate easier comparisons.Yes,if the reports are registered as different reports and if the end user has access to both the reports thn he can open and compare it OR if both reports are in same workbook as different sheets than its easy to view or compare.
    NULL values are still showing the word "NULL" even though in Tools Options we have set it to show blank, existing reports are still using the NULL value.It should show blank,might be some problem.In discoverer 10g i think you will not find this issues.
    Hope this helps you.
    Best Wishes,
    kranthi.

  • Questions on graphs and charts.,,,

    Hi ,
    I have always been facing problem while working with graphs and charts. First of all let me be clear with the data these accept. further questions as under:
    1. If I wire an array (1-dimention) to graph/chart , it plots it on Y axis. In this case, what are the values on x.axis?
    2. If I want to acquire a voltage on Analog I/P channel for some specified time , say 2 sec., how to ensure that time span and data without missing anyone.
    3. If I have to plot an I-V plot, how to make sure that V will come on Y-axis and I will come on X-axis.
    Plz clear these doubts...
    Regards
    GNS

    Hi,
    1. Charts takes sigle point value like plotting DC voltages, Graph takes set of values like arrays (1D) which are plotted on Y-axis with respect to x axis which is integer number like 0,1,2..etc.. ,
    XY graph takes bundled array of X-axis & Y axis.
    2. Charts are used where a single point value is to be presented/updated w.r.t. to time or x scale (x scale can also act an index).
    Also it supports update modes like sweep, scope & strip.
    3. Graph are used to plot waveforms which does have no. of samples acquired from DAQ board or other source, which needs to be plot on Y-axis.
    Main inputs of waveforms are starting time (t0), time stpes(dt) & Y elements.
    4.X-Y graphs are used where you want to plot Y elements w.r.t. to the defined X eleme
    nts. For e.g. I want to plot as
    Y=10 when X = 0
    Y=20 when X = 2
    Y=30 when X = 3
    etc.
    Here we have one array of Y elements & other array of X elements. So bundle your X & Y array & fetch to XY graph to plot it.
    Hope it clears you the concepts. Your feedbacks are welcome.
    Best Regards,
    Nirmal Sharma
    India

Maybe you are looking for

  • Smart playlists not updating to iPod in iTunes 7

    I've just upgraded to the latest iTunes 7 on my home PC - which runs windows XP. After completing the upgrade, and synchronising to my 3G ipod, not all smart playlists have come over. This seems to be any smart playlist that are based on some kind of

  • Design a report off a log file

    Crystal reports version XI I would like to design  a report off a log file (with .log extention). How would i go about it? (like data source etc) Any input iappreciated. Thanks in advance, padie

  • Looking 4 who wants to be a millionaire THEME

    Hi fellows; I'm producing an amateur video-show similar to the show "Who wants to be a millionaire" through Imovie 11 ... but I don't really know how can I manage to reproduce the show theme into my production (you know, question, 4 possible answers,

  • Where in BAT for "Users Associated with Line" field......

    Hi All, I am trying to find where I can export all user lines via BAT to see if they have an assignment for "Users Associated with Line". Basically, I have administered approx 1000 phones (some UDP and some not) however I was unaware that I needed to

  • CSM and RLB

    Can CSM do Radius Load Balancing? Seems to be no!!!! if no is there a workaround for this?