|
From: Angel M. <an...@an...> - 2006-12-17 17:24:41
|
Edward B. Phillips escribió:
> Can someone send me an examples or modification to the code below to show
> how to place Major and Minor Grids lines on a Log-Log plot.
> I can get Major, but the minors are not showing up.
HorizontalGridType and VerticalGridType grid properties might be what
you're looking for.
> Also how to get the format of the numbers on the major ticks to be
> in 0.0E+00 format.
Set the NumberFormat axis property to {0:e2}. Have a look at
http://msdn2.microsoft.com/en-us/library/dwhawy9k.aspx and
http://msdn2.microsoft.com/en-us/library/0c899ak8.aspx for information
about number format strings.
> One last item the last number on the x-axis labels is being cut-off a
> little how do I fix this.
Don't know without a test case that shows that behavior.
> PlotSurface2D1.XAxis1.Label = "X-Axis"
> PlotSurface2D1.YAxis1.Label = "Y-Axis"
You're loosing this as you're then changing the axis instance:
> PlotSurface2D1.XAxis1 = lx
> PlotSurface2D1.YAxis1 = ly
Regards,
--
Angel Marin
http://anmar.eu.org/
|