Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.charting
|
|||
|
|||
quadrant
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 |
#2
Posted to microsoft.public.excel.charting
|
|||
|
|||
quadrant
The code on this page will show how to get the coordinates you need:
http://peltiertech.com/Excel/Charts/VBAdraw.html This might be a better approach: http://peltiertech.com/Excel/Charts/...ackground.html - Jon ------- Jon Peltier, Microsoft Excel MVP Tutorials and Custom Solutions http://PeltierTech.com _______ "ChadTarget" wrote in message ... 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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Adding data labels to plotted quadrant (using Peltier solution) | Charts and Charting in Excel | |||
quadrant (perceptual) maps in Excel | Charts and Charting in Excel | |||
how can I make a quadrant analysis chart using excel | Charts and Charting in Excel | |||
Does anyone have a template or spreadsheet with a Quadrant Chart? | Charts and Charting in Excel | |||
four quadrant graph | Charts and Charting in Excel |