Hello, I am using the following code to add error bars to a scatterplot of means:
Proc Gplot data=meanst annotate=annotate_means;
plot avg1*varnum=group;
symbol1 v=circle c=green;
symbol2 v=triangle c=red;
Run; Quit;
Straightforward enough, I would think. However, the resulting graph is showing lines in the far bottom left corner of the graph screen, not even inside of the graph itself, and definitely not at the Xs or Ys they are supposed to line up with.
Here is a subset of the annotate dataset:
avg1 varnum std1 function style color text hsys xsys ysys position X Y size line
0.23649 0.9 0.42564 move swissb 3 3 3 6 0.7 0.00000 . .
0.23649 0.9 0.42564 draw swissb green 3 3 3 6 1.1 0.00000 0.8 1
0.23649 0.9 0.42564 move swissb green 3 3 3 6 0.9 0.00000 0.8 1
0.23649 0.9 0.42564 draw swissb green 3 3 3 6 0.9 0.66213 0.8 1
0.23649 0.9 0.42564 move swissb green 3 3 3 6 0.7 0.66213 0.8 1
0.23649 0.9 0.42564 draw swissb green 3 3 3 6 1.1 0.66213 0.8 1
0.03041 1.9 0.17199 move swissb 3 3 3 6 1.7 0.00000 . .
0.03041 1.9 0.17199 draw swissb green 3 3 3 6 2.1 0.00000 0.8 1
0.03041 1.9 0.17199 move swissb green 3 3 3 6 1.9 0.00000 0.8 1
0.03041 1.9 0.17199 draw swissb green 3 3 3 6 1.9 0.20240 0.8 1
0.03041 1.9 0.17199 move swissb green 3 3 3 6 1.7 0.20240 0.8 1
0.03041 1.9 0.17199 draw swissb green 3 3 3 6 2.1 0.20240 0.8 1
I am 99.9% positive that the annotate dataset itself is correct. Any ideas why the annotations are not printing inside the graph, at their designated Xs and Ys? Thank you!