Hi, I have some problem with the following simple script on Mac : SET WINDOW/XPIX=2400/ASPECT=1.4 SET VIEW FULL PLOT I[I=1:20] FRAME/FILE=Test.pdf On Mac OSX 10.14.6 , the PDF is badly clipped, and I didn't get all the picture. PyFerret version is : PyFerret v7.5 (optimized) Darwin 17.7.0 - 10/11/19 17-Mar-20 10:52 PyFerret is installed with anaconda 3 (python 3.6) The interactive python display is OK. From the interactive window, I can save a PDF from the menu : same clipping problem Generating a png is OK, with FRAME and with save as in the interactive window. The PDF is fine when the script is run on two Linux computers with ferret versions : PyFerret v7.4 (optimized) Linux 3.10.0-693.21.1.el7.x86_64 - 04/17/18 17-Mar-20 10:50 and PyFerret v7.43 (optimized) Linux 3.10.0-862.11.6.el7.x86_64 - 09/14/18 17-Mar-20 10:55 I can not test if the problem comes from 7.4 vs 7.5, or from Mac OS versus Linux ? I finally found a workaround, with the option -nodisplay : ferret -nodisplay -script test.jnl produces a correct PDF. Olivier — 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