Skip to content

Examples of neat Python and Matlab plotting and other tasks & hacks

License

Notifications You must be signed in to change notification settings

scivision/python-matlab-examples

Repository files navigation

Python and Matlab plotting examples

ci

Examples of neat Python and Matlab / GNU Octave plotting and other tasks.

File Description

  • contourImage2.m: hack to work around Matlab R2014b/R2015a removal of contour(), contourf() and contour3() handle graphics children that formerly could be used to move contours into a 3-D plot. This workaround first plots the image at z=0, and the contour at z=0, then flattens the figure to an image and resizes to the original data, allowing the new pcolor joint plot to be arbitrarily placed in 3-D.
  • R2014bAxesMultiColormap.m: Matlab with independent colormaps and colorbars -- freezeColor is no longer necessary
  • title_gitrev.py: label title in corner with git revision
  • widgets_gui_matplotlib.py: How to make interactiave, backend-agnostics Matplotlib GUIs
  • colormap_white_min.*: Matlab and Python examples of plots with white zero value and dark maximum value.

Oct2Py

Oct2Py allows running Matlab code from Python, transparently.

Other neat tricks

About

Examples of neat Python and Matlab plotting and other tasks & hacks

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published