quadrant

G

Guest

I am trying to create sectioned graphs using scatter plots. I need a macro
to be able to draw boxes for the particular areas on the graph using median
points which can change from graph to graph. I'm using the following code,
but I do not know how to tie these points to values in the graph. I can pull
over actual (x,y) from the data, but it needs to be converted into points or
pixels or whatever unit of measure the graphing tool is using. I basically
want a box that starts in the lower left @ (0,0) and goes to
(medianx,mediany) in the upper right and variations thereof. Any ideas?

myCht.Shapes.AddShape(msoShapeRectangle, Xleft, mySrs.Yvalues(Ipts),
Xwidth, Yheight - med1y).Select
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top