Welcome to Golden Software Support

Scatter Plot

Comments

6 comments

  • Avatar
    Lorenz Keller
    Hi Sabrina thank you very much for your prompt reply! It perfectly meets what I was looking for - great. Best, loriot
    0
    Comment actions Permalink
  • Avatar
    Lorenz Keller
    Hi Sabrina (and others) one more question: how can I create a color scale with the scatter plot? when using Grpaher_Scatter Plot, I find only the possibility to add a legend with "discrete" annotations. But it would be much more helpful to have a color scale where i can annotate just a few values, e.g. the extrema and some inbetween (as with Surfer's Color Scale when using an image map)... Any idea? Thanks, loriot
    0
    Comment actions Permalink
  • Avatar
    Lorenz Keller
    Hi Sabrina Thank you. It's great, if in future updates this feature will be implemented! Best, Loriot
    0
    Comment actions Permalink
  • Avatar
    Sabrina Pearson

    Hi loriot,

    Welcome to Grapher! Yes, you can create a 2D plot that shows the color of the symbols based on a third column. I recommend either a bubble plot or a class scatter plot. For the bubble plot, the colors are specific colors and not a range of colors.

    1. Create the bubble plot using the Graphs | Create | Basic | Bubble Plot command. Select the data file and click Open.
    2. Click on the bubble plot to select it.
    3. In the Property Manager, click on the Fill tab.
    4. If your values in the worksheet column can be translated to a color (using an IF statement in Excel, for instance), change the Color column option to the column that has the color names.

    For the class scatter plot, the colors can be a range of colors, as defined by classes.

    1. Create the class plot using the Graphs | Create | Basic | Class Plot command. Select the data file and click Open.
    2. Click on the class plot to select it.
    3. In the Property Manager, click on the Plot tab.
    4. Click the Edit button next to Classes.
    5. In the Edit Classes dialog, increase the Number of classes to the desired number of colors. For instance, you might set this to 100.
    6. Set the color Gradient at the bottom of the dialog.
    7. Change the Apply to to Line and Fill.
    8. You will most likely want to click the Classes symbol button to set the same symbol shape for all classes. You will probably also want to click the Symbol sizes button to set the symbol size for all classes.
    9. Click OK and the colors are applied to the classes.

    Thanks!

    Sabrina

    0
    Comment actions Permalink
  • Avatar
    Sabrina Pearson

    Hi loriot,

    The scatter plot and class scatter plot do have discrete colors for the legend. You can use a work around that would have the same color scale. Try this:

    1. Click the Graphs | Create | Contour Surface | Surface Data Map command. Select the same data file and click Open.
    2. Click on the surface data map to select it.
    3. In the Property Manager, click on the Plot tab.
    4. Check the Show color scale box.
    5. Make sure the Y column is set to the class column, so the range is the same.
    6. Click on the Fill tab and change the Colormap to match the classes.
    7. In the Object Manager, uncheck the boxes for the axes and surface map, leaving only the color scale bar.
    8. Click and drag the color scale bar to the desired location.

    I will add your request to our suggestion list for a better way to get the color scale bar.

    Thanks!

    Sabrina

    0
    Comment actions Permalink
  • Avatar
    Leslie McWhirter

    Hello Loriot,

    With the release of Grapher 15 Preview today, you can create a scatter plot that has points colored based on the values in a specified data column. To do so:

    1. Click Home | New Graph | Basic | Scatter Plot.
    2. Select your data file in the Open Worksheet dialog and click Open.
    3. Select the scatter plot.
    4. On the Symbol page in the Property Manager, expand the Fill section in Plot Symbol Properties.
    5. Set the Color column to your desired data column.
    6. Choose the desired Colormap.

    If you have active maintenance for your Grapher license, you can follow these instructions to participate in Grapher 15 Preview: How Can I Participate In Grapher's Preview Track? If you do not have active maintenance, you can renew your maintenance or upgrade your old license to participate in Grapher 15 Preview.

    Thanks!

    Leslie McWhirter

    Grapher Product Manager

    Golden Software

    0
    Comment actions Permalink

Please sign in to leave a comment.