| View previous topic :: View next topic |
| Author |
Message |
lvb Newbie

Joined: 18 Oct 2006 Posts: 3
|
Posted: Wed Oct 18, 2006 4:13 am Post subject: import scalable graphics from matlab |
|
|
Hello,
My problem is to inport scalable graphic data from Matlab to OpenOffice 2.0
There are many raster format common for both Matlab and OpenOffice 2.0, but all of them are NOT scalable. As well, EPS format exported from Matlab can be imported by OpenOffice 2.0, but again it is not scalable. The only scalable format the Matlab can export is the PDF. This one can NOT be imported directly by OpenOffice 2.0. I try to convert PDF to EPS using the ghostscript. It seems that resulting EPS is OK. The head of converted EPS looks like exported from Matlab. But OpenOffice 2.0 does NOT import it!
Do you have some idea?
Thanks,
Vadim |
|
| Back to top |
|
 |
acknak Moderator


Joined: 13 Aug 2004 Posts: 4295 Location: ~ 40°N,75°W
|
Posted: Wed Oct 18, 2006 6:30 am Post subject: |
|
|
EPS most certainly is scalable. OOo only displays the preview, which is a raster so it may not scale well, but the EPS graphic will be used for printing with highest quality. However (you knew there was a catch, right?), this ONLY works for PostScript output, because EPS is PostScript and OOo can't translate PS into anything else, including PDF. In Linux, this isn't so bad, as OOo always produces PostScript for printing, so EPS works fine. In Windows, you have to either use a PostScript printer, or output PS to a file and then convert it to PDF or a specific printer using Ghostscript.
So, in practice, EPS is very often limited to the raster preview, which isn't very useful.
Have you tried cut & paste? OOo does very well with WMF, which is a vector format and should be provided to the clipboard by Matlab. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|