help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with printed figures


From: Terry Duell
Subject: Re: Problems with printed figures
Date: Sat, 07 Dec 2013 16:28:18 +1100
User-agent: Opera Mail/12.16 (Linux)

OK, I think I have a solution... well it seems to work here.

Print the plot to ps, ie ' print("test_PSD.ps", "-dpsc2"); ' within Octave. Here I chose colour PostScript level 2. Convert the eps to svg using ' pstoedit -f plot-svg test_PSD.ps test_PSD.svg ' The conversion of many .ps files can be done via shell script in linux, making it quite painless. The resulting svg is as it should be. When the output is ps, the bounding box contains the plot correctly, i.e. BoundingBox: 0 0 612 792. Printing to eps gets it wrong with the plot displaced and cropped by the bounding setting.

So, that seems to be a satisfactory workaround to my problem of importing svg plots into LibreOffice.
Hope that helps some other poor soul who runs across this problem.

Cheers,
--
Regards,
Terry Duell


reply via email to

[Prev in Thread] Current Thread [Next in Thread]