GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Plot types
  • User guide
  • Tutorials
  • Examples
  • Reference
  • Contribute
  • Releases
  • Gitter
  • Discourse
  • GitHub
  • matplotlib
  • matplotlib.animation
  • matplotlib.animation.Animation
  • matplotlib.animation.FuncAnimation

This view

  • Original page
  • New address

GeezerVison is showing matplotlib.org — matplotlib.pyplot.semilogy — Matplotlib 3.11.2 documentation

matplotlib.pyplot.semilogy#

matplotlib.pyplot.semilogy(*args, **kwargs)[source]#

Make a plot with log scaling on the y-axis.

Call signatures:

semilogy([x], y, [fmt], data=None, **kwargs)
semilogy([x], y, [fmt], [x2], y2, [fmt2], ..., **kwargs)

This is just a thin wrapper around plot which additionally changes the y-axis to log scaling. All the concepts and parameters of plot can be used here as well.

The additional parameters base, subs, and nonpositive control the y-axis properties. They are just forwarded to Axes.set_yscale.

Parameters:
basefloat, default: 10

Base of the y logarithm.

subsarray-like, optional

The location of the minor yticks. If None, reasonable locations are automatically chosen depending on the number of decades in the plot. See Axes.set_yscale for details.

nonpositive{'mask', 'clip'}, default: 'clip'

Non-positive values in y can be masked as invalid, or clipped to a very small positive number.

**kwargs

All parameters supported by plot.

Returns:
list of Line2D

Objects representing the plotted data.

Notes

Note

This is the pyplot wrapper for axes.Axes.semilogy.

On this page
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.