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

  • Installation
  • Documentation
  • Examples
  • Tutorials
  • Contributing

This view

  • Original page
  • New address

GeezerVison is showing matplotlib.org — matplotlib.pyplot.loglog — Matplotlib 3.1.2 documentation

You are reading an old version of the documentation (v3.1.1). For the latest version see https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.loglog.html
Version 3.1.2
matplotlib
Fork me on GitHub

Navigation

  • index
  • modules |
  • next |
  • previous |
  • home| 
  • contents »
  • API Overview »
  • matplotlib.pyplot »
  • matplotlib.pyplot »

Quick search

Related Topics

  • Documentation overview
    • API Overview
      • matplotlib.pyplot
        • matplotlib.pyplot
          • Previous: matplotlib.pyplot.locator_params
          • Next: matplotlib.pyplot.magma
Show Page Source

matplotlib.pyplot.loglog¶

matplotlib.pyplot.loglog(*args, **kwargs)[source]¶

Make a plot with log scaling on both the x and y axis.

Call signatures:

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

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

The additional parameters basex/y, subsx/y and nonposx/y control the x/y-axis properties. They are just forwarded to Axes.set_xscale and Axes.set_yscale.

Parameters:
basex, basey : scalar, optional, default 10

Base of the x/y logarithm.

subsx, subsy : sequence, optional

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

nonposx, nonposy : {'mask', 'clip'}, optional, default 'mask'

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

Returns:
lines

A list of Line2D objects representing the plotted data.

Other Parameters:
**kwargs

All parameters supported by plot.

© Copyright 2002 - 2012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom and the Matplotlib development team; 2012 - 2018 The Matplotlib development team.
Last updated on Jan 05, 2020. Created using Sphinx 1.8.5. Doc version v3.1.1-79-g90d53b526.
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.