After a lot of looging, trial and error, I finally hit on this simple macro which gave me an X Y plot of my data.
Macro statements:
FileNew()
Directory("F:\3OSs_02\coord_and_graphs.dir")
FileOpen("ben_3OSs_02_xw4600_xP_Vista_0817_20090922_1140.csv")
If you go to http://paulpinkstaff.com/Dplot_BarGraph/ you can view all my data including an image of the XY plot.
My question is can a BarGraph be created with macro commands this way. I am beginning to think I need to take a different approach. I have noticed some text in the documentation that leads me to think a different type of input, with additional data, like the column lables could trigger the BarGraph.
Paul Pinkstaff
734-223-6558
pinkstaffp@acm.org
Creating a BarGraph with lables for each bar using macros
Moderator: DPlotAdmin
-
- Posts: 3
- Joined: Wed Nov 26, 2008 12:56 pm
- Location: Lovinia, MI 48154
- Contact:
- DPlotAdmin
- Posts: 2312
- Joined: Tue Jun 24, 2003 9:34 pm
- Location: Vicksburg, Mississippi
- Contact:
Where do you want the labels? Along the X axis, or at/near the top of each bar? If the former you'll want to use the XYLabel command (and probably set the number format for the X axis to "None" using [NumberFormat(0,12)].
If the latter you'll want to use TextPointLabel.
If the latter you'll want to use TextPointLabel.
Visualize Your Data
support@dplot.com
support@dplot.com
-
- Posts: 3
- Joined: Wed Nov 26, 2008 12:56 pm
- Location: Lovinia, MI 48154
- Contact:
XYlabel command is correct for me but,
what command do I use to the the XY Plot to turn into a BarGraph. After the third line in my macro I have this graph:
http://72.22.89.232/Dplot_BarGraph/Test ... 0_0012.png, and I think it needs to be a BarGraph at this point before I start to use XYlabel command.
http://72.22.89.232/Dplot_BarGraph/Test ... 0_0012.png, and I think it needs to be a BarGraph at this point before I start to use XYlabel command.
- DPlotAdmin
- Posts: 2312
- Joined: Tue Jun 24, 2003 9:34 pm
- Location: Vicksburg, Mississippi
- Contact: