Add a second series to a scatter plot.

I have two tables, each with non-adjacent x and y data columns.  I would like to plot both series on one plot as separate series.  I have read the pdf help file, and searched through past discussions here.  Non of the tips in those locations work.
Any thoughts?
Thanks
Jeff

Jeff Mendolo wrote:
Badunit,
The option command method seems to add data to an existing series, but does not give me a different series.  The last point on the first series is physically connected with a line to the first data point on the next series.  There is also only one series listed in the legand.
Are you selecting the chart as a whole (correct) or the first series in the chart (incorrect) before you try to add the second series?  The method worked for me.
I'll second Jerry's solution of gathering the data into a separate table for the chart.  Otherwise, if you make changes to one of your tables (i.e., add/delete a column between your X & Y data), you'll probably have to readjust the chart to get it looking at the corect columns again. It's more foolproof to use a separate table as the basis for the chart.

Similar Messages

  • How do I add a benchmark time to a scatter plot in Numbers

    I am working with a data set that includes a group of people that arrive at a location in a time range. I have these plotted on a scatter chart but I want to show a benchmark line and then how far off we are on that benchmark.
    How d I do this?

    If you want to plot another line on the chart, create two X,Y data points for the line in another set of columns in your table and plot it as a second series.  For example, if your original X data is in column B and Y data in column C, use column D and E for these other two points.  After you have those two points, click on your chart. A blue box will surround the data you have plotted in columns B&C. At the bottom right corner is a little circle. Drag it to the right until the box covers your new data in columns D&E.  The default is X-Y pairs so the box should have an X over columns B and D and a Y over columns C and E. Your chart should show a second series.
    If you want to get sophisticated, you can use formulas to make the data points for the benchmark.  For instance, you could use MIN(B) and MAX(B) to generate the min and max X values so the benchmark line dynamically adjusts to your other X data.

  • Scatter Plot With Multiple Data Series

    Hello,
    I would greatly appreciate any help you guys could give me.
    I need one scatter plot that shows 4 different groups of data. They all go with the same X and Y axis values, though.
    I can get a scatter graph with ONE group, but it won't let me add in another one. I tried the clicking and dragging the new cells, and the shift clicking, but the data just will not go into the chart. It's like it doesn't recognize it.
    I think I read something about sharing the X values? But I don't know how to do that?
    Thanks a ton in advance!!

    Pop,
    Badunit's example is one possible arrangement that you might have described; that is, one column for X values and several columns for Y values. This is the case when you should respond that you are sharing X-values. With all the data in one table, you can select it all at once, so you don't have the problem with dragging additional series into the chart.
    The Numbers User Guide PDF's first chapter is the place to start getting your bearings - you will learn how to distinguish Header vs. Body rows and columns. It's worth the effort to take another look at it.
    Since you are using a Scatter Chart, it's important not to use a header column for X because X values must be Numeric, as opposed to Text.
    Jerry

  • Scatter plot using time series function - Flash charting

    Apex 3 + XE + XP
    I am trying to build a time series scatter plot chart using flash chart component.
    Situation :
    On each scout date counts are taken within each crop. I want to order them by scout dates and display them in a time series chart. Each series represents different crop.
    I am posting the two series queries I used
    Queries:
    Series 1
    select     null LINK, "SCOUTDATES"."SCOUTDATE" LABEL, INSECTDISEASESCOUT.AVERAGECOUNT as "AVERAGE COUNT" from     "COUNTY" "COUNTY",
         "FIELD" "FIELD",
         "VARIETYLIST" "VARIETYLIST",
         "INSECTDISEASESCOUT" "INSECTDISEASESCOUT",
         "SCOUTDATES" "SCOUTDATES",
         "CROP" "CROP"
    where "SCOUTDATES"."CROPID"="CROP"."CROPID"
    and     "SCOUTDATES"."SCOUTID"="INSECTDISEASESCOUT"."SCOUTID"
    and     "CROP"."VARIETYID"="VARIETYLIST"."VARIETYLISTID"
    and     "CROP"."FIELDID"="FIELD"."FIELDID"
    and     "FIELD"."COUNTYID"="COUNTY"."COUNTYID"
    and      "INSECTDISEASESCOUT"."PESTNAME" ='APHIDS'
    and     "VARIETYLIST"."VARIETYNAME" ='SUGARSNAX'
    and     "COUNTY"."COUNTNAME" ='Kings' AND CROP.CROPID=1
    order by SCOUTDATES.SCOUTDATE' ASC
    Series 2:
    select     null LINK, "SCOUTDATES"."SCOUTDATE" LABEL, INSECTDISEASESCOUT.AVERAGECOUNT as "AVERAGE COUNT" from     "COUNTY" "COUNTY",
         "FIELD" "FIELD",
         "VARIETYLIST" "VARIETYLIST",
         "INSECTDISEASESCOUT" "INSECTDISEASESCOUT",
         "SCOUTDATES" "SCOUTDATES",
         "CROP" "CROP"
    where "SCOUTDATES"."CROPID"="CROP"."CROPID"
    and     "SCOUTDATES"."SCOUTID"="INSECTDISEASESCOUT"."SCOUTID"
    and     "CROP"."VARIETYID"="VARIETYLIST"."VARIETYLISTID"
    and     "CROP"."FIELDID"="FIELD"."FIELDID"
    and     "FIELD"."COUNTYID"="COUNTY"."COUNTYID"
    and      "INSECTDISEASESCOUT"."PESTNAME" ='APHIDS'
    and     "VARIETYLIST"."VARIETYNAME" ='SUGARSNAX'
    and     "COUNTY"."COUNTNAME" ='Kings' AND CROP.CROPID=4
    order by SCOUTDATES.SCOUTDATE' ASC
    Problem
    As you can see the observations are ordered by scout date. However when the chart appears, the dates dont appear in order. The chart displays the data from crop 1 and then followed by crop 4 data, which is not exactly a time series chart. Does flash chart support time series or they have no clue that the data type is date and it should be progressive in charting ? I tried to use to_char(date,'j') to converting them and apply the same principle however it did not help either.
    Any suggestions ?
    Message was edited by:
    tarumugam
    Message was edited by:
    aru

    Arumugam,
    All labels are treated as strings, so APEX will not compare them as dates.
    There are two workarounds to get all your data in the right order:
    1) Combine the SQL statements into single-query multi-series format, something like this:
    select null LINK,
    "SCOUTDATES"."SCOUTDATE" LABEL,
    decode(CROP.CROPID,1,INSECTDISEASESCOUT.AVERAGECOUNT) as "Crop 1",
    decode(CROP.CROPID,4,INSECTDISEASESCOUT.AVERAGECOUNT) as "Crop 4"
    from "COUNTY" "COUNTY",
    "FIELD" "FIELD",
    "VARIETYLIST" "VARIETYLIST",
    "INSECTDISEASESCOUT" "INSECTDISEASESCOUT",
    "SCOUTDATES" "SCOUTDATES",
    "CROP" "CROP"
    where "SCOUTDATES"."CROPID"="CROP"."CROPID"
    and "SCOUTDATES"."SCOUTID"="INSECTDISEASESCOUT"."SCOUTID"
    and "CROP"."VARIETYID"="VARIETYLIST"."VARIETYLISTID"
    and "CROP"."FIELDID"="FIELD"."FIELDID"
    and "FIELD"."COUNTYID"="COUNTY"."COUNTYID"
    and "INSECTDISEASESCOUT"."PESTNAME" ='APHIDS'
    and "VARIETYLIST"."VARIETYNAME" ='SUGARSNAX'
    and "COUNTY"."COUNTNAME" ='Kings'
    AND CROP.CROPID in (1,4)
    order by SCOUTDATES.SCOUTDATE ASC2) Union the full domain of labels into your first query. Then the sorting will be applied to the full list, and the values of the second series will be associated with the matching labels from the first.
    - Marco

  • Scatter plot graphs, more than 2 series possible?

    It's been very difficult for me to put 3 or 4 series of data in scatter graphs and connect the dots with lines as in Excel, it just doesn't allow me. I made a graph before using line graph model but it turns out that in the x axis (which in this case is time in weeks) I need to show the distance proportionally (i.e. 0,2,6,12 and 16 weeks) and I can't find how to do it with a simple line graph. Tried in excel and is easy using the scatter plot graph (very simple, using exactly the same data arrangement). But numbers does not accept the series of data (it only accepts X,Y per series) and in second place there is not lines connecting the dots. Any of you guys have a suggestion?. I'd really prefer to use numbers bit do not why is so difficult to scatter graph the data. Thanks

    The default for X-Y pairs can actually be pretty handy, though often it is not. You can easily turn it into one X and a bunch of Y's. Connecting lines are also available.
    My assumption from your post is you have a column of X values and several columns of Y values.
    1) All data for a scatter plot must be in "normal" data cells, none in header cells.
    2) Select all the X & Y data and create a scatter chart.
    3) There is a "gear" at the top left of the colored box in the table that indicates the data in the chart. Click it and choose to share X values. Now you should have one column labeled "X" and several labeled "Y" and your chart will show each Y as a separate series.
    4) With the chart selected (the whole chart, not one of the series), go to the Chart tab of the inspector, go to the series tab, look for the words "connect points" and choose what kind of line you want to connect the points. Alternatively or additionally, you could make trendline curves by clicking on "advanced". Also, you can do them one at a time and choose different settings for each series by selecting each series separately.
    If you have gaps in your Y data, it will not connect the points on either side of the gap, you will have a missing line segment.
    If your X data is unsorted, some connecting lines may go right-to-left, not left-to-right.

  • Can I add a second plot to an XY graph without having to re-draw the first?

    Hi,
    I'm trying to figure out a way to add a second plot (a linear fit between 2 cursors) to an XY graph without having to redraw the first plot (the underlying data). The reason this is important is that the first plot is typically hundreds of thousands of data points (or more), and it is slow to redraw. I would like the user to be able to move cursors around and dynamically do a linear fit to the underlying data in the range between the two cursors, with the line being drawn as the second plot.
    My current program just wires both plots to the graph and re-draws both. This ends up being quite slow.
    Ken

    Here's a quick draft how you could draw the regression line (LabVIEW 8.2). Modify as needed.
    Message Edited by altenbach on 10-28-2007 12:51 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    DrawRegression.png ‏28 KB
    PlotLine.vi ‏46 KB

  • Add point to scatter plot each time a button is pressed

    Hi folks,
    Apologies if this has been answered elsewhere, I am new to LabVIEW and trying to get an experiment up-and-running quickly!
    I was wondering if anybody would have general pointers or code examples on how to create a 2D scatter plot, to which a data point is added each time a button is pressed.
    I am measuring a gauge pressure and a force (from a load cell). I would like the scatter plot to add another data point each time I press a button, so that a history of my datapoints is shown. It would also be quite nice is this plot could then be exported as a .jpg using another button, but this is not critical. 
    A seperate button would also be available to clear the scatter plot.
    My current thinking is that this can be done by 'adding to an array', - presumably the chart would refresh each time an element was added to the array, but I am struggling a little bit with how to do this.
    If anybody has any suggestions, I would be very grateful for them.
    Many thanks,
    Euan

    Hi Euan,
    If you want to have your data shown in real time (and I'm assuming you do) then you'll need to use a Waveform Chart. The chart is able to update itself each time a value is written to it.
    The event structure is your friend here: you can write a case to update the chart each time a button is pressed. You can also create cases for the other situations you mentioned (clear chart, export jpg etc.)
    If you don't care about the chart updating in real time then you can use your idea of updating an array and then use a Waveform Graph to plot the datapoints at the end of your program.
    Take a look at the LabVIEW Basics course and the Examples for info on how to implement the event structure. If you run into any problems just post your VI and we'll see if we can't help you fix them.
    -CC
    "If anyone needs me, I'll be in the Angry Dome!"

  • 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

  • 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.

  • X and Y Data in scatter plot are different fields but can not be ??

    When making a scatter plot with numbers you can select the X data in the series bar (X Value) then click tick then select the  y data.
    If I do this the initially entered X data becomes the Y data, if you do it vice-versa, the latter entry of  y data becomes the X data.
    I called up apple support for this issue and after explaining the a technical supervisor in their numbers section what a scatter plot was they said they’d put the issue in my file.  Can someone fix this ……. ?
    You need to be able to enter a number of different X, Y series of data where X is one column or a portion of that column and Y is a an identical number of rows to each x value but in a different column. 
    If apple’s wondering why this program’s not professionally used they might what to actually use it before releasing it. 

    Rubin,
    OK, you're using OSX Mavericks 10.9, and Numbers 3.0.1. It would be a good idea to update your profile to show the proper operating system version.
    I think you are saying that you cant' add X-Y pairs to the chart as a new series. Apple has switched the default. Scatter Charts used to default to adding pairs of columns representing new X-Y pairs, but now it defaults to the mode called Share X-Axis values, so it thinks you are adding 2 new sets of Y-values sharing the first column of x-values.
    The switch for this is in the lower left corner of the Numbers window. This control used to be in the upper left of the chart range indicator in the source table, but they moved it. Click on the "Plot Columns as Series" button to reveal the menu. Then un-check Share X Values.
    Jerry

  • JavaFX Scatter plots

    Hello all,
    I have searched through these forums and not found anything. Is there any optimal way in which to add large amounts of data to a javaFX Scatterplot. It seems like attempting to plot more than 200 points slows down the software drastically. I have attempted the following approaches:
    Approach 1:
    Instantiate a new scatter plot whenever a new data set is available.
    Approach 2:
    Bind the data (member of scatterplot) to a local Sequence of Series. Insert my new data into a new Series and then insert this sequence (after deleting old data) into the sequence which is bound to the data (member of scatterplot).
    Approach 3:
    Directly delete data from the series present in my intial plot and insert into this sequence.
    All of the approaches seem phenomenally slow. Does anyone have write up on what the best manner is to display a large set of x,y data (something on the order of 5000 points). Or is it necessary to write a wrapper around the javaFX code which checks the 5000 points and plots only those that are visible (not obscured by the other points)?
    Thoughts?
    Thank you!
    -Greg

    LS,
    You presently get this:
    If you use the Filter in the Reorganize panel to show only non-blank rows, you can get this:
    Jerry

  • How do I do a scatter plot?  Plus, blank chart isn't blank!

    Something strange is going on with my Numbers app...
    But, before I get to that, I'm seeking confirmation on how to create a scatter plot.
    I have data arranged as such:
    Year     Rate
    January 2009     7.8
    February 2009     8.3
    March 2009     8.7
    April 2009     8.9
    etc.
    (formatting looks weird, but it's two columns)
    1.  Don't I simply select the variable names and the data, and then tap the + sign and scroll down for the scatter plot?  (Skipping the line chart icon, but tapping the one below that.)
    Alas, every time I do that I end up with two series of data, with a legend at the top that labels the two series as 2009 and 2011!!  In other words, not a scatter plot and not the right variable names (there shouldn't be a series legend in any case).
    I've tried just selecting the variables and data, skipping the variable names, but get the same result.
    2.  Now, here's where things get weird.  I de-selected the data and then tried creating a blank chart, to which I would add data.  That did not create a blank chart, but a virtually identical chart to the one before.
    I'm now wondering if somehow something's gotten corrupted or I inadvertently set a default chart that Numbers isn't overriding.
    Any and all suggestions welcome!
    3.  Oh, and by the way, is there any way of turning off the "Tap the chart to add data" message that appears each time and overlays the chart?  It's a nuisance! 

    Ok I got it to work. What I did was replace the bundle function of the waveforms with a build array function. This broke my clear history property node but I fixed that by creating a new control. Now I'm going to try it again from scratch to figure out what happened
    Using LabVIEW 2010SP1 and TestStand 4.5

  • Issue with displaying scatter plot

    Hello,
    In the attached Test Host TCP Read Three peaks New (Events Global).vi I am trying to display a data file in a series of scatter plots. The data is read from a functional global, then formatted based on the axis selections and displayed.
    Each plot allows selecting the x and y axis from a drop down menu. I spent a lot of time troubleshooting the following software bug: Whatever I do, the program keeps displaying the old data along with the new data set(s).
    The program is part of a larger application, where new data are constantly fed to the scatter plots and displayed together with the old data.
    I would appreciate your assitance in troubleshooting this application. Thank you.
    Best regards,
    Peter
    Solved!
    Go to Solution.
    Attachments:
    NI Support.zip ‏1488 KB

    Hello Eric-E,
    Thank you for your reply. This information about shift register appending data to existing data is new to me. Thus, I wrote the attached test vi. The shift register does not append the data. Rather, it replaces the data from the first loop iteration with the data from the second loop iteration, as expected. Also I have a reset function (Clear Plot.vi) in one of the loops together with a boolean (Reset Data) to trigger it. However, the old data is still not cleared.
    Or did I misunderstand something?
    Please advise. Thanks.
    Peter
    Attachments:
    Shift Register Test.vi ‏9 KB

  • How do i add a second display desktop to my macbok

    How do I add a second display (desktop) to my macbook pro so when I swipe, there are three screen options, the one for widgets, the main one and then another desktop?

    Here are the specs for your Compaq Presario CQ5300F Desktop Computer. According to the specs, this model supports one VGA output via nVidia GeForce 6150SE onboard integrated graphics. This model also has a PCIe x16 graphics card expansion slot which will accept a PCIe x16 graphics card. According to the specs, installing a discrete graphics card in the PCIe x16 slot will disable the onboard integrated graphics.
    The graphics card you purchase must support both monitors you wish to use with your computer. Additionally, most retail graphics cards require a 300 watt or greater system power supply. Currently , your computer has a 250 watt power supply and it will need to be replaced. Please consider the Corsair CX430, CX500, or CX600 series of power supplies to meet the new graphics card power requirements.
    Alternatively, if this is mostly for word docs, spreadsheets, day trading and light video, you may wish to consider a USB-to-video adapter such as the eVGA UV Plus+ UV39 or one of the many other adapters on the market.
    If you have any further questions, please don't hesitate to ask.
    Please click the white KUDOS star to show your appreciation
    Frank
    {------------ Please click the "White Kudos" Thumbs Up to say THANKS for helping.
    Please click the "Accept As Solution" on my post, if my assistance has solved your issue. ------------V
    This is a user supported forum. I am a volunteer and I don't work for HP.
    HP 15t-j100 (on loan from HP)
    HP 13 Split x2 (on loan from HP)
    HP Slate8 Pro (on loan from HP)
    HP a1632x - Windows 7, 4GB RAM, AMD Radeon HD 6450
    HP p6130y - Windows 7, 8GB RAM, AMD Radeon HD 6450
    HP p6320y - Windows 7, 8GB RAM, NVIDIA GT 240
    HP p7-1026 - Windows 7, 6GB RAM, AMD Radeon HD 6450
    HP p6787c - Windows 7, 8GB RAM, NVIDIA GT 240

  • Highlighting a single data point in a scatter plot - Numbers'09

    Is there a way to highlight a single data point on a scatter plot in Numbers'09 (or point to it using a line from each respective coordinate on the x & y axis).
    I don't think it matters but the data point i am looking to highlight is the [highest y value/2]... and of course its respective x coordinate once you plug the y value into the equation ( y = f(x) ) and solve for x.

    Here is my own tip :
    As you see, I use two sets of values.
    In the second one I define only the yValue of the data point which must be "highlighted".
    Yvan KOENIG (VALLAURIS, France) jeudi 10 février 2011 20:49:32

Maybe you are looking for

  • Using a source file to test behaviors

    I am developing some special mail handling features, based on the message content and some library information that I have. I don't want to go to the trouble of setting up a POP3 server since I have the test data in flat files. Has anyone developed a

  • Cannot Find Errors in Log File

    I can't seem to find where the Errors are stored in the Log File, I am trying to write a DataPlugin in VBS, and I'm getting runtime errors at the end of my script. It says to refer to the log file, but there isn't anything in the log file about my er

  • Latest update for MacBook Pro causing spin issues  :(  Any suggestions?

    The Latest Update for MacBook Pro is causing my computer to hang....I hate updating for this reason...seems it always happens...Any suggestions?

  • Date parameter to SQL query

    Hi, I am using from_date and to_date parameters. Data type and Param type for both are 'Date' and my Format string is 'dd/MM/yyyy' I need to pass these two values to my data model which is SQL query. Whenever I use below WHERE clause I am getting "OR

  • Place an mp3 on my home page and have it play automatically?

    might there be a way to place an mp3 on my home page and have it play automatically? thanks bobby