yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #05138
Re: plot.plo() with different colors?
> for example I would like to draw porosity with blue squares connected
> by a line '-bs'. Strain with a red line '-r', and void_ratio with
> default color:
>
> plot.plots={'epsilon_1':(('sigma_1','-r'),None,('porosity','-bs'),('void_ratio',)),'epsilon_1_':(('epsilon_123',))}
Well, this should work. yade.plot. only provides basic interface (and we
should not add more functionality here), for something more complicated,
you can access plot.data['var'] and use pyplot directly.
> lots of excessive brackets though...
Sorry, but this is a very stupid argument. You can make up something
more simple.
v
Follow ups
References