next up previous contents index
Next: Scaling and Grid Lines Up: Setting Plot Limits Previous: limits: Save or Restore   Contents   Index


ylimits: Set y-axis Limits

Calling Sequence
...

ylimits (ymin[, ymax])

Description

Set the y-axis plot limits in the current coordinate system to ymin, ymax, which may each be a number to fix the corresponding limit to a specified value, or the string "e" to make the corresponding limit take on the extreme value of the currently displayed data.

Arguments may be omitted only from the right. Use limits(xmin, xmax) to accomplish the same function for the x-axis plot limits.

Note that the corresponding Yorick function for ylimits is range. Since this word is a Python built-in function, the name has been changed to avoid the collision.



Michiel Jan Laurens de Hoon 2003-04-19