Charts

20 tutorials Updated 13 Jul 2024

  1. 1 Plotting a 2D-Histogram using matplotlib A 2D histogram is drawn by counting both X and Y combination of a bivariate data. matplotlib function hist2d() is used to plot the example 2D histograms shown here. 1 Apr 2017
  2. 2 3d Bar Charts Using The Python Library Matplotlib The Python library matplotlib provides the bar3d() function to plot a 3 dimensional bar chart. The Python example draws a 3 dimensional bar chart for the population of cities in the east and west coasts of the US. 13 Jul 2024
  3. 3 autocorrelation plot using matplotlib Autocorrelation measures any correlation in the same time series data with a lag of order n. An example autocorrelation plot is drawn using matplotlib. 2 Apr 2017
  4. 4 Drawing Bar Charts using the Python library matplotlib Bar charts can be drawn using pyplot module of matplotlib using the bar() function. bar() function provides several customisations to the bar chart.Examples provided. 31 Mar 2017
  5. 5 How to draw box-whisker plots in python Box plot is a statistical diagram that depicts data from lower to upper quartiles with respect to median.Example box plot here is drawn using boxplot() of matplotlib. 1 Apr 2017
  6. 6 Plotting a broken horizontal bar chart A broken bar chart helps in plotting data which has small as well as large values. An example horizontal broken bar chart is plotted using matplotlib 7 Apr 2017
  7. 7 Contour plot using Python and Matplotlib A contour plot is a set of level curves where a level curve is a function of f(x,y) in which z value is a constant on all (x,y) of the curve. Some may be lines as well. 2 Dec 2017
  8. 8 Correlation plot using matplotlib in Python Correlation measures the degree of association between two variables or datasets. The below example depicts correlation plot using xcorr() in matplotlib. 2 Apr 2017
  9. 9 Plotting cosine waves using python matplotlib and numpy Cosine waves are similar to sine waves except that Cosine waves lead sine waves by a phase angle of 90 degrees.Example is provided for plotting cosine with matplotlib 4 Apr 2017
  10. 10 Drawing a plot with error bars using Python Matplotlib An error bar represents the standard deviation of the distribution and depicts the uncertainties present in the distribution.An example plot is given along with error values. 7 Apr 2017
  11. 11 Hexagonal Binning using Matplotlib and Numpy The Hexagonal Binning is the process of plotting x,y data inside hexagons and colouring the hexagons using a color range based on the data count of a hexagon. 8 Apr 2017
  12. 12 Histogram Plotting with Matplotlib pyplot module of Matplotlib has hist() function which plots a histogram using one are more sequences of numbers and provides several parameters for customisation 1 Apr 2017
  13. 13 Drawing a Pie chart using Python matplotlib Pie charts can be drawn using the module matplotlib.pyplot which provides the pie() function that creates a pie chart and customises the various aspects of the pie chart 29 Mar 2017
  14. 14 Polar plots using Python and Matplotlib Polar plot is drawn using a radius from origin and an angle theta. Any function can be drawn in Polar co-ordinates. Examples are given using python matplotlib. 14 Dec 2017
  15. 15 How to draw a scatter plot in Python A scatter plot is used for depicting relationship between two variables and can be drawn using matplotlib.pyplot.scatter().Example code is given for the scatter plot. 2 Apr 2017
  16. 16 Drawing a semilog plot using matplotlib Semilog plot helps plotting one of the datasets in logarithmic scale. An example using python matplotlib is provided where Y axis data is plot in logarithmic scale. 11 Apr 2017
  17. 17 Plotting a sine wave using matplotlib and numpy sine waves represent periodic oscillations. sine waves can be plotted using numpy sin() function and the matplotlib plot() functions. An example sine wave is given here. 4 Apr 2017
  18. 18 Plotting neural events with spike raster plot using Python Matplotlib Spike raster plots used in neuroscience can be drawn using the matplotlib function eventplot(). An example spike raster plot is drawn and the output image given. 7 Apr 2017
  19. 19 Stem plot using Python and Matplotlib A stem plot is drawn by extracting high value digits and depicting them as column1 and extracting low value digits and placing them in column 2 of a table 29 Nov 2017
  20. 20 Drawing a violin plot using Python and matplotlib A violin plot combines the Kernel Density Estimation Plot and the Box plot. It displays the whole distribution along with the probability density function, median and mode information.The python matplotlib example draws violin plots with different bandwidth values applied. 5 Aug 2019