Dear Fabio, Ryo and PratikThank you for your wonderful suggestions. I tried by opening PyFerret as pyferret -nodisplay from the suggestion of Pratik and can now save the file in ps and eps.$pyferret -nodisplayuse coads_climatologyfill sstframe/file=test.psframe/file=test.epshowever, the suggestion from Ryo to convert pdf to ps or eps by using Ghost Script is also very useful.Secondly, the suggestion from Fabio sounds promising because I know Mac is having the capability to do that. I will try it on Mac.Happy FerretingCheers, Saurabh---------- Forwarded message ---------
From: Fabio Boeira Dias <fabio.boeiradias@xxxxxxxxxxx>
Date: Thu, Feb 13, 2020 at 7:47 PM
Subject: Re: [ferret_users] can not save figure in .ps format
To: saurabh rathore <rohitsrb2020@xxxxxxxxx>
Hi Saurabh,
From my experience it’s just fine to rename .ps figures to .eps. Also, if you have your figures already saved in .pdf or .png and you use mac, you can open them on the Preview app, Print (command+P), it will open a window and in the bottom left corner, where it says pdf, click on this box and choose “Save as PostScript”.
Hope that helps.
Cheers,
Fabio
From: <owner-ferret_users@xxxxxxxx> on behalf of saurabh rathore <rohitsrb2020@xxxxxxxxx>
Date: Thursday, 13 February 2020 at 1:15 am
To: ferret users <ferret_users@xxxxxxxx>
Subject: [ferret_users] can not save figure in .ps format
Dear Ferreters,
G'day
I am trying to save figure in .ps format but I am getting an error while saving it. I have installed PyFerret from the conda library in a new environment. The version of my PyFerret is 7.5.
use coads_climatology
fill sst[l=1]
save/file=test.ps
**ERROR <class 'AttributeError'>: type object 'QPrinter' has no attribute 'PostScriptFormat'
I am not able to resolve this error.
Most importantly, I need to develop figures for publications so the required format is EPS. Is there any command to get .eps file format with good resolution from PyFerret 7.5?
Eagerly waiting for some help. Thanks in advance.
Cheers, Saurabh
--
REGARDS
Saurabh Rathore
Research Scholar (PhD.)
Centre For Oceans, Rivers, Atmosphere & Land Science Technology
Indian Institute Of Technology, Kharagpur
contact :- 91- 8345984434
University of Tasmania Electronic Communications Policy (December, 2014).
This email is confidential, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone outside the intended recipient organisation is prohibited and may be a criminal offence. Please delete if obtained in error and email confirmation to the sender. The views expressed in this email are not necessarily the views of the University of Tasmania, unless clearly intended otherwise.
--REGARDSSaurabh RathoreResearch Scholar (PhD.)Centre For Oceans, Rivers, Atmosphere & Land Science TechnologyIndian Institute Of Technology, Kharagpurcontact :- 91- 8345984434