Le Mardi 21 Mars 2017 18.30 CET, "Ansley C. Manke" <ansley.b.manke@xxxxxxxx> a écrit: > Hi Patrick, > > Another option for you would be the plot_swath.jnl script. This defines > polygon shapes from the points in the lines and so it should be > perfectly accurate. > > -Ansley Hi Ansley, Thank you to point me the plot_swath.jnl script I didn't know. My test to use it shows me that it does not solve my filling accuracy problem. I think that the problem comes from the data itself. Because they are monthy defined, you cannot expect to fill properly when the curve cross the 0 because this abscisse point where the curve cross the 0 is only defined graphically, not from the data. This is why, in my comprehension, I still need to refine the data to a finer temporal grid (so from monthly to daily) Attached a test made with the plot_swath.jnl script and the pdf produced fill_between_ex3.pdf where the filling is not correct (graphically speaking). To be compare to the fill_between_ex2.pdf Produced by: pyferret -batch fill_between_ex3.pdf -script fill_between_ex3.jnl Best regards Patrick > > > On 3/15/2017 9:28 AM, Patrick Brockmann wrote: > > Hi ferreters, > > > > I am wondering if the accuracy of the filling could be improved > > in the following script. > > I should perhaps regrid to a finer time step but I am afraid to > > complicate the script unnecessary. > > > > Best regards > > Patrick > > > -- Data Analysis and Visualization Engineer LSCE/IPSL, CEA-CNRS-UVSQ laboratory LSCE - Climate and Environment Sciences Laboratory IPSL - Institut Pierre Simon Laplace --
Attachment:
fill_between_ex3.jnl
Description: Binary data
Attachment:
fill_between_ex2.pdf
Description: Adobe PDF document
Attachment:
fill_between_ex2.jnl
Description: Binary data
Attachment:
fill_between_ex3.pdf
Description: Adobe PDF document