← Back to team overview

yade-users team mailing list archive

Re: Facet position

 

> Is it possible to make different y-values from right side of the
> diagram?
> MatPlotLib manual?

I added that now, along with fixing
https://bugs.launchpad.net/yade/+bug/399360 (tuple vs. string). Use the
string '|||' to separate y1axis from y2axis:

{'t':'Z_pr','t_':('F',('g','go-'),'|||','F2')}

note 1: 'Z_pr' will work (before, you would have to say ('Z_pr',) )
note 2: F and g will be plotted on y1 on the second figure, F2 on y2;
'|||' separates those
note 3: ('g','go-'): the 2nd string is marker specifier as in matlab,
see
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.plot (and scripts/siple-scene-graph.py).

(you can add all that to the faq :-) )

If '|||' seems ugly, propose something else, it doesn't really matter.

Vaclav





Follow ups

References