It seems to be always rescaling to my data.

I've tried setting axes or ylim separately but neither have worked. 

Will


From: firedrake-bounces@imperial.ac.uk <firedrake-bounces@imperial.ac.uk> on behalf of Lawrence Mitchell <lawrence.mitchell@imperial.ac.uk>
Sent: 17 November 2016 17:15:43
To: firedrake@imperial.ac.uk
Subject: Re: [firedrake] matplotlib query
 


On 17/11/16 17:06, William Booker wrote:
> Dear Firedrakers,
>
> Probably a simple question but how do I get matplotlib to use fixed axes?
>
> I've tried  plot(all_u, axes= [0.0,1.0,0.0,1.0]), but this doesn't
> seem to be correct.

It's possible that we don't pass the keywords through correctly to
matplotlib in all cases.

You get an axes object back from the plot call, can you manipulate it
directly before doing anything?  Or does this sort of work, but the
axes get redrawn when you step through the data and it goes "out of
range"?

Lawrence