is this the proper way to plot scatter chart?

hi I am trying to plot a scatter chart, showing mice of different age has different amplitude of neuronal action potential.

data is something like this,
x axis: age (day 1 to day 30)
y axis: amplitude of action potential

for each x value, I have several y value. I want to display all the y value as solid dots (grey colour) on the chart and also display the mean±SEM (black colour) of y for each x.
what I think may work is I plot two charts. One shows all the y value as solid dots and one shows mean±SEM. Then I can combine this two chart into one chart by aline the axis.

what my question is, is this the right way to do that? or igor pro already has some built-in settings specially for this kind of chart?

Sincerely

Geng
Perhaps you want a "Scatter Dot Plot"?

See the example experiment: Examples\Graphing Techniques\Scatter Dot Plot Demo.

--Jim Prouty
Software Engineer, WaveMetrics, Inc.
JimProuty wrote:
Perhaps you want a "Scatter Dot Plot"?

See the example experiment: Examples\Graphing Techniques\Scatter Dot Plot Demo.

--Jim Prouty
Software Engineer, WaveMetrics, Inc.


thanks Jim. this is it.
JimProuty wrote:
Perhaps you want a "Scatter Dot Plot"?

See the example experiment: Examples\Graphing Techniques\Scatter Dot Plot Demo.

--Jim Prouty
Software Engineer, WaveMetrics, Inc.


Hi Jim

I read the demo. it did not mention how to display error bar or may be I missed that part.
can you please let me know how to make the error bar appear? and is that possible to combine bar chart with scatter plot, or box chart with scatter plot?
THX
jpeg2.png jpag.jpg
Hello Pangeng,

You can add error bars using the Scatter Dot Plot control panel. Under Options on the right side check "Show Error Bars."

Adding bars is a little tricky. You can do it with the knowledge that the scatter dot plots plots center on successive integers starting at 1. One way is to append a trace and make it a bar plot. Type the following into your command window for help:

DisplayHelpTopic "Bars"

Or you can add a category plot to the scatter dot plot. Category plots are useful, but don't play well with other traces. The key is to make the category plot and Scatter Dot Plot use different axes. I got a category plot and scatter dot plot to appear together correctly by putting the category plot on the top axis, then going to the Modify Axis dialog (simply right click on an empty part of the graph and select "Axis Properties...") and making a few adjustments:

- Set "Axis:" to top to make changes to the top axis
- In the Axis tab under the Color: group box (lower right corner) click "Set All to Axis Color" to make the top axis disappear
- Set "Axis:" to bottom to make changes to the bottom axis
- In the Axis Range tab check Manual Min and Manual Max
- Play around with values that make your data line up properly. For me, with 3 scatter categories and 3 category bars, 0.5 and 3.5 worked well.

DisplayHelpTopic "Category Plots"

Good Luck!

Nate
support@wavemetrics.com
nhyde wrote:
Hello Pangeng,

You can add error bars using the Scatter Dot Plot control panel. Under Options on the right side check "Show Error Bars."

Adding bars is a little tricky. You can do it with the knowledge that the scatter dot plots plots center on successive integers starting at 1. One way is to append a trace and make it a bar plot. Type the following into your command window for help:

DisplayHelpTopic "Bars"

Or you can add a category plot to the scatter dot plot. Category plots are useful, but don't play well with other traces. The key is to make the category plot and Scatter Dot Plot use different axes. I got a category plot and scatter dot plot to appear together correctly by putting the category plot on the top axis, then going to the Modify Axis dialog (simply right click on an empty part of the graph and select "Axis Properties...") and making a few adjustments:

- Set "Axis:" to top to make changes to the top axis
- In the Axis tab under the Color: group box (lower right corner) click "Set All to Axis Color" to make the top axis disappear
- Set "Axis:" to bottom to make changes to the bottom axis
- In the Axis Range tab check Manual Min and Manual Max
- Play around with values that make your data line up properly. For me, with 3 scatter categories and 3 category bars, 0.5 and 3.5 worked well.

DisplayHelpTopic "Category Plots"

Good Luck!

Nate
support@wavemetrics.com


Dear Nate, thank you for your kindly help.
As my waves do not have equal number of value point, it seems I can not generate a category plot with them. In this case, may I ask how to append a bar chart to the scattered dot plot? I pasted part of my data and attached a screenshot.

Many thanks.

category1
-9.718
-21.1447
-32.7271
-44.564
-40.0014
-41.8773
-39.2567

category2
-40.333
-39.7545
-48.6443
-53.9611
-56.1018
-39.9098
-57.641
-39.6874
-36.8486
-43.1012
-57.7274
-39.0138
-40.9905
-49.3315
-42.1809
-42.0808

category3
-49.174
-46.4514
-52.7638
-51.6849
-49.2554
-60.6517
-61.4176
-52.1934
-44.0083
-63.2666
-60.1623
-56.0527
-54.988
-44.4946
-49.8706
-49.3605
-52.271

1_0.jpg 1_0.jpg 1_0.jpg