User Tools

Site Tools


other:python:matplotlib_by_jyp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision Both sides next revision
other:python:matplotlib_by_jyp [2019/09/05 14:14]
jypeter created (moved from https://wiki.lsce.ipsl.fr/pmip3/doku.php/other:python:jyp_steps)
other:python:matplotlib_by_jyp [2019/09/05 14:38]
jypeter Some changes
Line 8: Line 8:
 Help on //stack overflow//: [[https://​stackoverflow.com/​questions/​tagged/​matplotlib|matplotlib help]] Help on //stack overflow//: [[https://​stackoverflow.com/​questions/​tagged/​matplotlib|matplotlib help]]
  
-The matplotlib documentation is good, but not always easy to use. <wrap hi>A good way to start with matplotlib</​wrap>​ is to quickly read the following, practice, and read this section again+===== Starting (and more) with matplotlib ===== 
 + 
 +The matplotlib documentation is good, but not always easy to use : the package is powerful, there are lots of ways to do the same thing and it's easy to get lost. 
 + 
 +There are lots of online tutorials that often don't show much more than a simple scatter plot with basic page setup. 
 + 
 +This page will hopefully give you some keeys to become (progressively) a matplotlib power user. 
 + 
 +<wrap hi>A good way to start with matplotlib</​wrap>​ is to quickly read this section, practice, and read this section again (and again) 
   - Have a quick look at the [[https://​matplotlib.org/​gallery/​index.html|matplotlib gallery]] to get an idea of all you can do with matplotlib. Later, when you need to plot something, go back to the gallery to find some examples that are close to what you need and click on them to view their source code   - Have a quick look at the [[https://​matplotlib.org/​gallery/​index.html|matplotlib gallery]] to get an idea of all you can do with matplotlib. Later, when you need to plot something, go back to the gallery to find some examples that are close to what you need and click on them to view their source code
     * some examples are more //​pythonic//​ (ie object oriented) than others, and some examples mix different styles of coding, which can be quite confusing. Try to [[http://​matplotlib.org/​faq/​usage_faq.html#​coding-styles|use an object oriented way of doing things]]!     * some examples are more //​pythonic//​ (ie object oriented) than others, and some examples mix different styles of coding, which can be quite confusing. Try to [[http://​matplotlib.org/​faq/​usage_faq.html#​coding-styles|use an object oriented way of doing things]]!
other/python/matplotlib_by_jyp.txt · Last modified: 2023/10/26 08:39 by jypeter