How create an eps picture to use it in LaTeX?

zakyn's picture

Hello,

I need to create a picture in eps format to use it in LaTex Document. I use plotsetup to create it but the output is not worked corretly. In Maple 8 it workes.

plotsetup(ps,plotoutput=`plot.ps`,plotoptions=`portrait,noborder`);

and then I use some plot command. I am not able to compile the maple output in LaTexPdf. I try to open it in CorelDraw and it is opened, but I am not able to work with it like I am able with Maple 8 output. Why? Is it different format of eps?

Could you help me please? How could I create eps file to use in LaTeX?

Thank you very much.

Vladimir

Comments

eps: version?

With what version of Maple are you having problems?

zakyn's picture

Maple 10 & Maple 11

Hello,

I tried it on

`Classic Worksheet Interface, Maple 11.00, Windows, Feb 16 2007 Build ID 277223`

and

`Classic Worksheet Interface, Maple 10.06, Windows, Oct 2 2006 Build ID 255401`.

Thank you

Vladimir

try command-line

You might try command-line Maple. I believe it uses a different postscript driver. At least I got completely different results (inspecting the encapsulated postscript file) from the Standard gui and command line Maple. I haven't tried the Classic worksheet (Maple 11).

zakyn's picture

Command

I have tried it but the output is the same and it is not possible to use it in LaTeX.

Could you write the commands to generate the usefull eps file in LaTeX, please?

Thanks

Vladimir

S.Arlou's picture

No Problem

I have only one question.
You tried to create the .eps file by Maple code as I understand, not by hand. Is it right?
And you look this file in some folder, but you can not open it. Is it right?

Open the .eps file in some notepad software and change all commas to points.

zakyn's picture

It works.

Thank you, it works. Is it a Maple bug or different ps format?

Vladimir

commas to points

Hello!

I was trying to generate a .eps from maple and I was having a hard time. Maple could generate the .eps but any program (ghostview, Adobe Illustrator) was able to open. Then I saw your very strange suggestion of openiong the .eps in notepad and change commas to points. IT WORKED!!! How strange! Is it a bug? How can I avoid this?

I want to generate several (20 or more) pictures and I do not want to repeat this procedure every time. Any suggestions?

 

Thanks you very much,

Bernardo

localization?

Plots and other other output with locals that use commas are shown with commas (eg here). May be that the ps files are also generated with commas when using these locals?

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
}