0
Reply

Repost - Graph Scaling

b0nn19

b0nn19

May 29 2004 4:30 PM
1.5k
Sorry I accidently turned on the do not replies flag on previous posting... I need to plot data points into a panel. My panel size is 500 X 400. The problem is my data points are very small compare to my panel size. Below are my data points: X Y 0 0 1.5 0.5 2.3 1 When I plot these data points into my panel (using graphPath.AddLine(p0,p1)), the graph looks very small... Is there any way to adjust my graph so it will fit my panel? I tried to use scalling but it doesn't work either. scaleX = 5; scaleY = 5: matrix.Scale(scaleX,scaleY,MatrixOrder.Append); Thanks for any helps.

Next Recommended Forum