Scatter plots / graphs

We have not yet tried Flex, but we are interested using it
for its charting capabilities. Does it have built-in charting
components that allow scatter plots? If not, can anyone recommend
third party products that produce scatter plots from dynamic
data?

Let's say JFreeChart is the simplest approach to do so, even though it actually might need a bit of documentation. My guess would be that you didn't include the jcommons library in your classpath, JFreeChart depends on it.
http://www.jfree.org/jcommon
You can always use Java's native drawing operations for simple plots, too, but i just would not recommend it. It might, however, be a good idea to just use the NumberAxis classes (located in JFreeChart lib) and design your own plot if you're not willing to invest too much time in this stuff. Those classes are fairly easy to use (although also poorly documented!).

Similar Messages

  • Why won't my data appear on my scatter plot graph in numbers?

    I'm making a scatter plot graph and I'm dealing with very small numbers on my x-axis, such as 0.0004 and 0.184 on my y-axis. Every time I plot the scatter plot graph, nothing appears on the graph. Can anyone please help me? Thanks.

    just to check in your notification centre,(settings>Notification centre>Messages) did you enable show alerts from everyone? if so
    Do a reset by holding the power and home button until the apple logo appears ignoring the slide to power off (no data loss).

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

  • How to change the color of points on a scatter plot graph

    I need this graph to be black and white only but the points are blue. How do I change that?

    ER,
    Select the points in the series and use the Format Bar color well to choose black.
    Jerry

  • How to select all (dots) in a scatter plot matrix?

    I have a scatter plot matrix, and I'm manually changing the color of each trend line, which probably isn't the best way but it's an easy but time consuming way to do it. I can't feasibly change the color/stroke of every single scatter plot dot in every single scatter plot graph of the matrix. I'm trying various Select --> Same or Select --> All but it keeps trying to change everything, from the line to the border to the dots. I am not sure if I can group the dots and select all or something. Is there a way to select all of the dots and just the dots?

    I feel like I should have posted screenshots of my graphs for all of my questions. In any event I've been manually changing the colors of the lines and the dots (see the few graphs on the left, I highlighted the inside of the graph and changed the dots and the line and then just manually changed the line back)

  • Plotting Data Incorrectly in a Scatter Plot

    I am trying to plot a graph using a scatter plot in Numbers, and all of the data points are correct except for one. If you look at the data, you can see that the point that is at .00360 on the y axis(the highest point on the graph) is supposed to have an x value of .001 but instead it is too far to the right (closer to .1). This is throwing off my graph and I really need to get this fixed. Below are the links to the data table and the graph. Thanks for any help!
    http://img686.imageshack.us/img686/7/picture3wc.png
    http://img20.imageshack.us/img20/2035/picture4pe.png

    Hi Tom,
    I tried recreating your table and chart, typing in the numbers rather than having any of them calculated, and manually assigning min and max values to both axes to match yours.
    The chart came out with all data points where expected.
    I did notice another difference in the curve though—where yours shows three data points forming a concave-toward-the-origin section (at the leftmost portion that is correctly plotted), mine shows four data points. That led me to count the points and find that there is one point—(0.139,0.00309)—missing from your chart.
    While I don't see from doing this what may be wrong with your chart, it did bring a workaround to mind that should get you a useable chart before your deadline.
    Insert a new (plain) table into your document and resize it to the minimum needed to hold the two columns of data.
    Select the cells containing the X axis data and Copy.
    Click on cell A1 of the new table and go Edit > Paste Values.
    Repeat for the Y axis data, placing it in column B of the new table.
    Select the data block in the new table then insert a scatter chart.
    If you still get the error, manually edit the data in the cells causing the error.
    That should get you through the short term. I think someone may have to look at the actual file to solve the underlying problem.
    Regards,
    Barry

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

  • Scatter Plot - Field Label instead of Legend

    I am using the scatter plot wizard to create a chart.
    As it works currently, it plots all of the points on the graph as a unique shape/color, and has a legend with the field name for reference.
    Is there anyway to place the field name next to the point on the graph?
    I have seen quite a bit about Markup text such as:
    <MarkerText visible="true"><Y1ViewFormat><ViewFormat decimalDigit="0" decimalSeparatorUsed="true" decimalDigitUsed="true"/></Y1ViewFormat></MarkerText>
    Using that gives me the data points (e.g. there is a Triangle and then 5,10) , but I want to put the field name inside instead. (e.g. Triangle and then "Sales")
    thanks

    Parvatha,
    Yeah. It does not matter what you have on the first row. You will only use the split criteria to split the data into fields in your table. So it does not matter what you have at the first row.
    Thanks,
    Vikram.M

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

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

  • 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

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

  • 3d scatter plot

    I would like to display two sets of data in a 3D scatter graph, and each data set should have its own style and size.  Can someone help me complete this task?  Thanks in advance. 

    Hello AC_No_1,
    I found a great example called 3D Scatter Plot.vi in the LabVIEW example finder. If you right click on the plot on the FP you an go to 3D Plot Properties, and under "Scatter" you can add a plot to the plot list.
    After adding a plot to the plot list then you can change which plot you would be drawing from the "Plot ID" constant on the BD.
    You could use a case structure to programatically write to the two different plots.
    I have been unable to find a way to view both plots at once. You can select which one you are viewing from the front panel, on the 3D graph indicator is a dropdown where you select which plot to view.
    You should be able to change the style and size of each plot from the 3D Plot Properties dialog (right click on the indicator). I hope this helps get you up an running!
    Thanks,
    Joel C
    National Instruments

  • Designate data points in scatter plots

    Hey,
    I`ve made a correspondence analysis in excel and want to get a scatter plot as .eps-file.
    I`ve imported the X and Y values in Illustrator and created a scatter plot. Now I would like
    to represent the numbers of data points (like in the illustration below). Is this even possible?
    If so, how? Various tutorials didnt help.
    Thanks for the help!
    Heiko

    That's possible. See http://www.m-server.de/m_g/Scatter%20graph-cs5.ai.zip
    How to create a graph design:
    http://help.adobe.com/en_US/illustrator/cs/using/WS3f28b00cc50711d9fc86fa8133b3ce158e-8000 .html#WS714a382cdf7d304e7e07d0100196cbc5f-61a3a

Maybe you are looking for