Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Matlab and CorelDraw

307 views
Skip to first unread message

Shiels

unread,
Aug 9, 1995, 3:00:00 AM8/9/95
to
Hello Everyone -

Has anyone had any luck getting a Matlab generated plot imported into CORELDRAW?
I have printed the Matlab plot out as an EPS file, and the tried to import it into
CORELDRAW. All I get is an Invalid AI format error.

Any ideas would be greatly appreciated.


Thanks

JS

Bo.Er...@teknikum.uu.se

unread,
Aug 10, 1995, 3:00:00 AM8/10/95
to

I am using Matlab 4 and COREL DRAW 4 under WIN-OS/2, and I usually
just use cut & paste. There are some minor problems, but over all it
works rather well. (Some plots come out all black in Corel, but that's
just the colors set wrong for some objects, and it seems that matlab
draws things in a little bit funny way - for instance, there may be
3-4 lines exactly on top of each other in some cases. Also, the fonts
look terrible due to some scaling bug somewhere.)

Depending on your plot-type another alternative may be to use HPGL -
matlab can produce hpgl output, and COREL can import hpgl.

>
> Thanks
>
> JS

You're welcome

/BoE

Peter W.A. Zegelaar

unread,
Aug 10, 1995, 3:00:00 AM8/10/95
to
In article <40abiu$a...@nouvelles.e33.dreo.dnd.ca> jsh...@ewd.dreo.dnd.ca (Shiels) writes:
>From: jsh...@ewd.dreo.dnd.ca (Shiels)
>Subject: Matlab and CorelDraw
>Date: 9 Aug 1995 13:01:18 GMT

>Hello Everyone -

> Has anyone had any luck getting a Matlab generated plot imported into
>CORELDRAW?
>I have printed the Matlab plot out as an EPS file, and the tried to import it
>into
>CORELDRAW. All I get is an Invalid AI format error.

> Any ideas would be greatly appreciated.

I use printing as "Adobe Illustrator 88 compatible illustration file".
This format can be read by CorelDraw.
- import file into CorelDraw
- Select all
- Make fill color black
- Ungroup
- Delete the black background
BTW: you need Matlab version 4.2 for this.

- Peter Zegelaar
> Thanks
>
> JS


Poul Erik de Haan

unread,
Aug 11, 1995, 3:00:00 AM8/11/95
to

>>Hello Everyone -

I agree, the 'Adobe Illustrator option' works reasonable. Two remarks:
-font conversion is not very nice
-curves in figures with fixed axes tend to continue outside figure
limits

An alternative, especially for older versions of Matlab, for instance
3.5, is to copy the figure to the clipboard and paste it into
Coreldraw

Poul.


Eric Breitenberger

unread,
Aug 12, 1995, 3:00:00 AM8/12/95
to
In article <40abiu$a...@nouvelles.e33.dreo.dnd.ca>,
jsh...@ewd.dreo.dnd.ca (Shiels) says:

>Has anyone had any luck getting a Matlab generated plot imported into CORELDRAW?
>I have printed the Matlab plot out as an EPS file, and the tried to import it into
>CORELDRAW. All I get is an Invalid AI format error.

On my PC, the .wmf format works reasonably well for getting Matlab
figures into CorelDraw.

On the figure menu, under Edit, check Copy Options to make sure
the Windows Metafile format is selected. You can then simply
copy the figure to the Clipboard.
Switching to CorelDraw, you can now do a Paste Special. This will
give you a black rectangle which hides your figure. Ungroup the objects,
then select the rectangle and delete it. This can be a bit tricky
sometimes. At this point you should see your figure in all its glory!

The metafile is fairly good for transferring figures. Various axes,
text objects, lines, and so on can be edited individually in CorelDraw.
You can even edit the lines by removing nodes and such.

Hope this helps, Eric

0 new messages