[Thread Prev][Thread Next][Index]

[ferret_users] Strange bug in plot title with html features



In the following script, some plots have a title that is not centered, but shifted to the right. It happens when a <sup> syntax is used.

Do you have the same problem ? And could you suggest a workaround ?

(tested with pyferret 7.5 on MacOSX and on Linux)

Olivier

!
! Strange behaviour ...
! The plot title is shifted to the right when a syntax <sup>foo</sup> is used

SET TEXT/FONT=calibri

SET VIEW UL ; PLOT/TITLE="d18O text text text"                   I[I=1:10] ! Title OK
SET VIEW UR ; PLOT/TITLE="d<sup>18</sup>O text text text"        I[I=1:10] ! Title shifted to the right
SET VIEW LL ; PLOT/TITLE="<&delta><sup>18</sup>O text text text" I[I=1:10] ! Title shifted to the right
SET VIEW LR ; PLOT/TITLE="<&delta>18O text text text"            I[I=1:10] ! Title OK

— 
Olivier Marti  - LSCE Bât 714 p. 1049
MERMAID Team
Normal situation :  +33 1 69 08 77 27 
Corona lockdown  :  +33 6 45 36 43 74

Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement