Line / scatter plot axis problems

I'm trying to create a graph to show the percentage of revenue that is generated by some percentage of classes offered, a la an 80-20 graph. Sample XML:
<DATA>
<RevenueByClass>
<REVENUEBYCLASS_ROW>
<CLASS_NUMBER>1</CLASS_NUMBER>
<PERCENT_OF_CLASSES>.24</PERCENT_OF_CLASSES>
<PERCENTAGE>4.67</PERCENTAGE>
</REVENUEBYCLASS_ROW>
<REVENUEBYCLASS_ROW>
<CLASS_NUMBER>2</CLASS_NUMBER>
<PERCENT_OF_CLASSES>.48</PERCENT_OF_CLASSES>
<PERCENTAGE>6.83</PERCENTAGE>
</REVENUEBYCLASS_ROW>
</RevenueByClass>
</DATA>
Ideally, I want a line graph (which I can make without any trouble) with PERCENT_OF_CLASSES showing up on the X-axis and PERCENTAGE on the Y-axis. My problem is that, because it's a line graph, BI Beans treats the X-axis as ordinal rather than a data axis, so the axis labels are completely haywire. I would like a way to change the line graph so that the axis labels are the same as the Y-axis, preferably every 10% or 20%. Skipping doesn't work, because the total number of classes can vary so the exact percentages can vary as well.
If there is no way to do that, I could try to make it as a scatter plot; however, it's not built into the wizard and I've had little success trying to build it by hand. Any help would be greatly appreciated.

Unfortunately it seems that while most chart types can cope with data in rows, 'scatter' needs data to be in columns. If you create a table the transpose of how you described it, then click Listings and command-click 200, you should be able to create the correct scatter chart. Note that you'll probably then want to click the numbers on the x-axis of the chart (e.g. 80) until a narrow box appears which contains just those numbers. Then, in the chart inspector 'Axis' dialogue enter the value 50 in 'Value Axis Format':'Minimum', and maybe chnge the number of steps to suit (here 3). You might want to repeat this for the y-axis with different values.
Craig.

Similar Messages

  • Scatter Plot Axis Choice

    Hi folks. Just wanting to make a scatter chart, but she doesn't seem to want to give me what I want.
    Oh my table, first row has a header, then 4 items. Fourth row has the same:
    Listings | 50 | 60 | 70 | 80
    EPL | 900 | 600 | 450 | 200
    How do I turn this into a scatter, with Listings on X? I chose that first, then Command to choose the 900, then shift to 200. But, that's plotting these quite strangely. Doesn't seem to work. Can anybody get this to work? I'm looking for a trend in order to get an estimate of a fixed point.
    Cheers

    Unfortunately it seems that while most chart types can cope with data in rows, 'scatter' needs data to be in columns. If you create a table the transpose of how you described it, then click Listings and command-click 200, you should be able to create the correct scatter chart. Note that you'll probably then want to click the numbers on the x-axis of the chart (e.g. 80) until a narrow box appears which contains just those numbers. Then, in the chart inspector 'Axis' dialogue enter the value 50 in 'Value Axis Format':'Minimum', and maybe chnge the number of steps to suit (here 3). You might want to repeat this for the y-axis with different values.
    Craig.

  • Scatter plot line width

    First off, I'm using the trial version of iWork '09. So I want to eventually put a chart into keynote to present to my colleagues, however, putting the chart up on a projector requires me to have a thicker plot line. So if I use a scatter plot, my axis' turn out great, but I cannot adjust the line's width. I don't want symbols, I just want a line connecting the points. If I use the line chart instead of the scatter, the x-axis displays "Untitled 1, Untitled 2" as the labels. I can't change them to the corresponding numbers which is annoying. I can change everything else fine: axis line width, font size, etc. Its just eh connecting line I'm having trouble with

    Actually, found a roundabout way to do this. Have to use line chart and in the x-axis label, you have to insert your formula for what cells you want such as Table 1 :: B212:B912 and just set the category counter to only include one label every so many counts. Kind of a pain, but works. However, can't have only the few tickmarks (should be 5 labels and corresponding 5 tickmarks in my case, but I have 5 labels and 700 tickmarks), all are shown instead. It tacks all of the labels individually, but you can choose which ones are shown, but cannot remove tickmarks... Any ideas?
    Message was edited by: chemgoof

  • Scatter Plot Problems

    I'm fairly new to Numbers, and I'm having difficulty making scatter plots with some of my data. For instance, I want to create a graph of strain versus force, with force on the x-axis and strain on the y-axis. I have my data in 2 rows, and when I select both rows and choose a scatter plot, I get a bizarre looking chart. Is there a step I'm missing here?

    Yvan,
    I should have given you more data. I have found that the icon in the upper left corner of the Scatter Chart's data range in the Table can not be switched from columnar to row-wise, as would be the case for a Line Chart. It seems that the icon, and the chart behavior, are stuck on Columnar.
    Clicking on the icon will not change it.
    Defining a row-wise paring range for a Scatter Chart is ignored and a multi-series Columnar Chart is created instead. There are two ways to identify the behavior, by the color blocks in the data range, as you noted, and by the icon.
    This is the Columnar Icon:
    This is the Row-wise Icon:
    Clicking on the icon should toggle it.
    The documentation indicates that either arrangement should work with a Scatter Chart, but clearly in my experience, only column pairs can be used. I can't think of a good reason to restrict this behavior beyond the convention that X-Y data is normally presented in columns.
    Thanks for asking the Bug Hunters about this issue.
    Jerry

  • How do I make a best fit line on a scatter plot?

    I have a set of data and I made a scatter plot on numbers, but how do I put a best fit line in there?

    select the graph, then open the Charts Inspector.
    Open the series section (from the options at the top "Chart", "Axis", "Series"), Then select the "Trendline" in the "Advanced" section near the bottom.  Finally select the type of trendline

  • XY Scatter Plot Problems

    XY scatter plots that were successful previously now are in error.  They now appear as "column type" charts with the horizontal axis simply the index of the data point (that is, 1, 2, 3, ...).  This problem has appeared after the recent
    update of MS Office 2013.  Please help quickly!

    Hi,
    Plese try to change the chart type.  Click the chart->Design Tab->Change Chart Type->choose
    X Y Scatter.
    Also when right click the chart->Select Data, what does the labels of
    Legend and Horizontal look like?
    If possible, please share the workbook with us ,you can upload the file to a file sharing site and then share the link here.
    Wind Zhang
    TechNet Community Support

  • Axis scale for scatter plots

    I'm trying to create a specialized scatter plot, which functions similar to Excel's scatter plot. I'm having problems determining what the min and max values should be for the axes. I would like the program to determine from the input data what the initial min and max values should be on the x- and y-axis, the user can adjust later.
    So, I don't want the program to just look at the maximum value imported and round up. For instance, data = {523.7, 514.4, 271.8, 128.5}. The max value is 523.7, round up to 524. Instead, I would like to program to make 600 the largest value on the axis, because that makes it nice round number for the user to view the dataset.
    Then, I thought it really depends on the range of the data. For instance, data = {523.4, 523.8, 523.2, 522.8, 523.9}. Here, the range is very small, so it doesn't make sense to have 600 the largest value on the scale. The largest value should be 524 or 525, and the small value on the axis scale should be 521 or 522.
    Has anyone else ever worked with this problem, or have a good solution? I would really appreciate it, I've spend way too many days working on this.
    Thank you,
    Joe

    This is off the top of my head and based on a slight variation of your data.
    data: 52.34, 52.38, 52.32, 52.28, 52.39
    min=52.28 max=52.39 range=0.11
    Looking at the range we see it is "on the order of" 0.1. Ie, it is closer to the next lower power of 10 (0.1) than it is to the next higher one (1.0). So we round min down to the next lowest multiple of 0.1 (52.2) and round max up (52.4). 52.2 and 52.4 can serve as the nice numbers.
    The range is just a little bigger than a power of 10, so it might be a good idea to check what happens when it's a little less.
    data: 135 226 141 143 etc
    min=135 max=226 range=91
    range is on the order of 100, and the nice numbers are 100 and 300.
    As a variation on this strategy if we always find the power of 10 below the range (10 in the second example) we get a tighter fit but the numbers are slightly less nice - 130 and 220.
    (I'm pretty sure I've seen - and used! - some java software from the Internet somewhere to find the best scale for axes, so it might pay to look around)
    Had to edit my second example and, while I was waiting, found what I have used for this sort of thing: http://geosoft.no/software/index.html (The NiceNumbers class - it finds numbers along a range suitable for major and minor "ticks" but, if memory serves me correctly it extends the range so that the ends are nice too.)

  • Line graph :axis problem.

    hi all,
    i am using dvt:lineGraph with subType="LINE_VERT_ABS"..in tabularData atrribute i am using EL to bind array list to populate the graph
    tabularData="#{pageFlowScope.creditcard_helper.creditCardGraphList}"
    creditCardGraphList is populated like this:
    for first line on graph: creditCardGraphList .add(new Object[] { balance, "*Current*", noOfInstallment });
    And
    for second line on graph: creditCardGraphList .add(new Object[] { balance, "*New*", noOfInstallment });
    now my graph is populated properly with Two Line
    one for type "*New*" and other For type "*Current*"
    problem is
    on Y axis my noOfInstallment is getting plotted and for both line it starts from origin i.e 0.
    but
    on X axis my balance is getting plotted .problem on x axis is
    for type Current say first point starts from origin and ends in half way on x-axis, for second type my balance should start from origin only which is not happening like it is for y-axis.
    i.e for second line on x-axis should start from origin only and should take the same scale as of for first line's x-axis....
    can anybody help..???
    i really stuckked here

    yes current is line1 and on same graph one line having the same x and y commodies.......
    say line1 having the co-ordinated
    (x,y):-----(10,2)(20,40)(30,50)
    line2 having the co-ordinate:
    (x,y):-(12,4)(24,30)(15,45)
    now consider line 2nd's first point (12,4) this point on x axis should be between line 1st's (10,2) and (20,30)....which is actually not happening...(12,4) is after line 1st's (30,50)...
    here on x-axis it is taking the values as group.every value it is taking at new point....
    but on y-axis its taking as values...which it will plot 4 between 1st line's(10,2) and(20,40)...
    morever current and New are the same commodies i am adding them i one arraylist...
    for line1: graphlist.add(new Object[] { balance, "current", noOfInstallment });
    for line2: graphlist.add(new Object[] { balance, "New", noOfInstallment });
    something to do with this i guess...
    <dvt:y1Axis/>
    <dvt:o1Axis></dvt:o1Axis>
    thanks for reply
    Dhiraj
    Edited by: dhiraj shingavi on Nov 30, 2010 1:01 AM
    Edited by: dhiraj shingavi on Nov 30, 2010 1:27 AM
    Edited by: dhiraj shingavi on Nov 30, 2010 1:28 AM

  • 50G / simultaneous multiple scatter plots + intersection of linear regression lines

    I have a real specific problem with scatter plots and linear regression lines.
    First, I've been looking over the manual and the internet trying to figure out how to graph multiple scatter plots at the same time, but it seems like you can only do Columns 1 and 2 or Columns 1 and 3, etc., from Edat (greek letter), you can't do all three columns at once IF Column 1 represents X and 2 and 3 represent Y-values.  Or columns 1 & 2 as one set, and 3 & 4 as a second set. 
    Further, because it doesn't seem to be able to do this, I can't get it to find the intersection of these two lines. I can get the x-intercept and y-intercept just fine but I don't need that. What I can do is do a linear regression on both sets of data to get an equation for a line, put it into an array, and use the solver on it, that does indeed work. But that's a whole lot of extra keypresses just to get an ordered pair. I have experience on TI and Casio calculators and they don't have this seeming limitation. 
    Any suggestions?

    I have a real specific problem with scatter plots and linear regression lines.
    First, I've been looking over the manual and the internet trying to figure out how to graph multiple scatter plots at the same time, but it seems like you can only do Columns 1 and 2 or Columns 1 and 3, etc., from Edat (greek letter), you can't do all three columns at once IF Column 1 represents X and 2 and 3 represent Y-values.  Or columns 1 & 2 as one set, and 3 & 4 as a second set. 
    Further, because it doesn't seem to be able to do this, I can't get it to find the intersection of these two lines. I can get the x-intercept and y-intercept just fine but I don't need that. What I can do is do a linear regression on both sets of data to get an equation for a line, put it into an array, and use the solver on it, that does indeed work. But that's a whole lot of extra keypresses just to get an ordered pair. I have experience on TI and Casio calculators and they don't have this seeming limitation. 
    Any suggestions?

  • Xy scatter plot with 2 y axis how to?

    I am interested in an making an XY scatter plot with time points as
    the x axis, and with 2 different y axis.
    As I mentioned, the x axis
    will have the different time in min., that the data was collected, and
    the 1 y axis would contain a particular measurement of the sample, and
    the other (2nd) y axis would contain a different type of measurement
    of the same sample. The problem is that I can't see how to do a 2 y
    axis XY scatter plot.
    best regards
    Peter Valencic

    Hi Peter,
    This is one of the most requested features for the JFreeChart project. It hasn't been added yet, but it is very near the top of the to-do list.
    Regards,
    Dave Gilbert
    JFreeChart Project Leader
    P.S. For anyone who is interested in JFreeChart, the link is:
    http://www.object-refinery.com/jfreechart/index.html

  • How do you make a horizontal average line in a scatter plot?

    In any version of Numbers, is there a way to make a horizontal average trendline?  Not a "moving average", but one line that is the average that goes through the data points on a scatter plot.

    sflakg wrote:
    hit a few roadblocks. 
    I tried:
    1. using the crop tool to make the canvas bigger with a transparent background.
    2. Used lasso tool over people in group shot (total of 5) and saved the selection
    3. Tried content aware scale to raise the image, but it keeps stretching out the people. 
    Any thoughts on what else I could try?
    Rather than trying to stretch it taller, try to squeeze it horizontally.  There are methods for telling it what to protect in the image if it gets touchy.
    Another possibility is to use Content Aware Fill to make up part at the top and bottom, without any stretching.
    -Noel

  • Lines in Scatter Plots?

    Hello,
    Well, I can't figure out how to connect points in a scatter plot with a line? Is this possible?
    Thanks!
    Michael Morrison

    Nope, you can't, I just tried, too. With scatter, there seems to be no function to connect points in a series. Really Apple, come on. Do you want to look at a plot with 5 series on it and try to figure out which point belongs to which series? You have to be kidding me there's no way to connect them...

  • How to I insert a line of best fit on a scatter plot????

    I have data already organized in tables, and I created a scatter plot. NOw I need to insert a line of best fit and get the equation. How do I do this??? I already calculated a and b (for y=a+bx) but I have no idea how to insert it on the plot. Every search tells me to "insert a trendline"..... but numbers doesnt have that function. Help please???

    Open inspector
    Go to chart tab
    Series
    Click on the "Advanced" to reveal the menu
    Trendline
    Choose the desired trendline (linear etc)
    Hope this helps.
    Dimitris

  • Scatter Plot Problem!!

    Hello everyone,
    I am quite new at Labview and I have a question regarding plotting 2d-array in a scatter plot.
    I would like to plot my data as a scatter plot, which I have done with the Waveform graph, and now I would like to find out the area with the highest density in the scatter plot
    and mark the area with a circle...is it possible in Labview to realize this?? I would be very thankful for every tips!
    Thank You
    Best Regards 
    Yun

    Yes it is possible.  You said you are using a waveform graph, wouldn't an XY graph be a better choice?  I don't know the data you are getting so a waveform graph might be the right tool here.
    In either case you'll need to define a length of X that you want to find the denses amount of points.  So say X=1 so then you will find all the points between 0 and 1 and count them, then 0.1 to 1.1 and count them, then 0.2 to 1.2 for the length of X on your graph.  Doing this in a For loop will make it easy, and then your output will be an array of counts for each section.  Find the maximum using the Array Max & Min function.  
    Then you can highlight the graph using property nodes.  You can use a cursor, or annotation, or a custom picture.  The easiest would probably be an Annotation and in the Example finder there is one called "Graph Annotations" that find the minimum, maximum, and average values for a graph and put an overlay on the graph.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Sort x values highest to lowest in scatter plot?

    I want to do a simple scatter plot, which actually works fine and looks like this:
    The only problem is, I have to sort the x axis the other way round, starting with 24 copies going down to 10. Anybody got ideas?
    C.

    Hi C,
    Would this work?
    The method requires an auxiliary column in the data table and one edit to the chart. I added a second edit to the chart, adding weight to the connecting lines between data points, but that one is strictly cosmetic.
    Auxiliary column in the table:
    Insert a new column before column B. It will become column B.
    Formula:
    B2: =24-A
    24 is the maximum value in column A. "A" references the column A cell on the same row as the formula.
    Fill down to the bottom of column B. Results as shown. After creating the chart, this column may be hidden.
    Chart:
    Select cells B2:E7.
    Select Scatter Chart from the Charts button.
    When the chart is generated And still selected), click the gear icon at the top left of the selected cells and choose Share X values.
    Select the box containing the x axis labels. Press delete to delete this box.
    Click the Text box button in the Toolbar to insert a Text box.
    Enter 10 in the Text box. Adjust the width of the box to a loose fit around the number.
    With the box selected, press command-D seven times to create another seven identical boxes.
    Edit the contents of these boxes to contain the even numbers from 10 to 24.
    Carefully place the box containing 10 directly below the first data point on the chart, and as far below the x axis as you want the row of labels to appear.
    Carefully place the box containing 24 directly below the last data point on the chart, and slightly lower on the page than the box containing 10.
    Place the other boxes in ascending order between and slightly below the two boxes already placed.
    Select all eight of these boxes, but nothing else.
    Go Arrange (menu) > Align Objects > Top
    Go Arrange > Distribute Objects > Horizontally
    Go Arrange > Group
    If desired, adjust the weight and colours of the data point icons and connecting lines.
    Note: Any revisions to the data will likely require repeating the construction above.
    Data table and chart constructed using Numbers '09 v2.3
    Regards,
    Barry

Maybe you are looking for

  • Remove Header and Footer from a report

    Hi, I use the report S_ALR_87012104. But I want to export this report removing the header and footer. Is it possible to export the report excluding header and footer. That is line items only. Regards Mahbub

  • Blurry Images when Placing

    When I place images on triggers or slideshows or anything in general, the images appear at a very low quality and very blurry (even if I don't re-size them in Muse). My images are 300dpi and I've tried placing both jpgs and pngs. But the resolution i

  • Cluster ID not found

    Hello, I´ve this error when I startup services Java in cluster envorioment (Windows) CLUSTER ID (5002) NOT FOUND Best Regards

  • Selective flattening of data

    I need help on this query if I'm going to be able to make some functionality that I've been agonizing over work.  Any help would be greatly appreciated! Table: --NAME-- --LOCATION-- --GROUP-- name1 location1 group1 name1 location1 group2 name1 locati

  • Update to my last question

    i saw that the problem i related in my last request its not on your site ,but on the other site ,the social platform i wanted to open the URL,so its not more need to you to investigate about your browser..