[Matplotlib-users] Graph similiar to necked_tensile_specimen.png

Nicolas P. Rougier Nicolas.Rougier at inria.fr
Fri Mar 11 01:44:00 EST 2016


It seems the graphic may come from http://clearplot.readthedocs.org/en/latest/
The author can certainly tells you how he did it (https://github.com/breedlun/clearplot)

Nicolas



> On 11 Mar 2016, at 05:33, Eric Firing <efiring at hawaii.edu> wrote:
> 
> On 2016/03/10 2:40 AM, sprobst76 wrote:
>> Hello,
>> 
>> thank you. However as I mentioned before I am looking for the code for the
>> image *necked_tensile_specimen.png* and not for the code of the
>> interpolation example.
>> 
>> The image *necked_tensile_specimen.png* is given as sample data (as finished
>> PNG) in the matplotlib examples. So far I did not find the code to produce
>> this image
>> <https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/mpl-data/sample_data/necked_tensile_specimen.png>
>> .
>> 
>> As I plan to generate a plot similar to *necked_tensile_specimen.png* it
>> would be perfect to get the code for a necked 2D map!
>> 
> 
> I don't know where the exact code is, but it looks like it is produced using pcolormesh with Gouraud shading, as in this example:
> http://matplotlib.org/examples/pylab_examples/quadmesh_demo.html
> 
> Eric
> 
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-users



More information about the Matplotlib-users mailing list