draw a diagonal line on a graph
Posted: Fri Aug 07, 2009 7:14 am
Hi everybody,
I would like to draw some diagonal lines on graphs - does someone know if this is possible? i.e. I have some scatterplots where I want to draw the 45°line and some parallels to this line.
As far as I have figured out the "draw" command only places horizontal or vertical lines. Any suggestions?
Some more informations about my scatterplots: I have for each country a group with the gdp and the export series. Then, I create a "world"-group containing all theses country groups and make a scatterplot of this world-group (one plot for each year). And these graphs should contain, besides all the dots, some diagonal lines.
Thanks and best regards!
I would like to draw some diagonal lines on graphs - does someone know if this is possible? i.e. I have some scatterplots where I want to draw the 45°line and some parallels to this line.
As far as I have figured out the "draw" command only places horizontal or vertical lines. Any suggestions?
Some more informations about my scatterplots: I have for each country a group with the gdp and the export series. Then, I create a "world"-group containing all theses country groups and make a scatterplot of this world-group (one plot for each year). And these graphs should contain, besides all the dots, some diagonal lines.
Thanks and best regards!