void ylgscle
(nxdiv, x, y, npts) |
LOGPLT.C |
Level
2 |

int
nxdiv |
The number of x axis divisions. |

float
*x |
The vector of x data. |

float
*y |
The vector of y data. |

int
npts |
The number of data points in the x and y vectors. |

The self-scaling axis routine, ylgscle(), finds the correct
number of decades so that the logarithmic y axis can accommodate
the data. Labels on log axes are always placed at the decade markings.
Intermediate points are labeled depending on the spacing between divisions.
The x axis is linear. |