List Archives > 
Maple User Group List Archive > 
Archive by date > 
This Month By Date > 
This Month By Topic
[MUG] Logplot to file
| [MUG] Logplot to file |
|
Author: Emilio Sanchez
Posted: Wed, 11 Dec 2002 17:14:14 +0100
|
>> From: emilio sanchez "emilio.sanchez"
Hi Mugers,
I am trying to generate a postscript file from a logplot with
Maple 8 (Linux). Unfortunately the labels of the logarithmic
axis do not appear correctly in the output file. I remember
some discussions on this topic but, as usual, not the solution.
I am using the follwing sequence;
p1:=logplot(f(T), T=..., ... etc. ):
display(p1); # this works correctly on the screen
plotsetup(ps,plotoutput:=`./file.ps`);
display(p1); # y-axis in ps file as wrong numbering
plotsetup(default);
Thanks for your help in advance!
--
Best regards,
emilio "mailto:emilio.sanchez"
|
| [MUG] Re: Logplot to file |
|
Author: Robert Israel
Posted: Thu, 12 Dec 2002 14:37:59 -0800
|
>> From: Robert Israel "israel"
Is this the same problem that Metha Kamminga asked about in
November 2001, with - signs appearing as "plusorminus"? That
problem has to do with differences between the "Adobe Standard"
and "ISO Latin 1" encodings of character \261. I had two suggested
solutions: one to change the encoding (which may or may not work
depending on what is interpreting the Postscript), the other to
change that character to an ordinary -. A procedure for the second
solution is
fixps:= proc(filename::string)
# filename is the name (with path if necessary) of the input file
# optional second argument is name of output file, otherwise ".new"
# is appended to the filename
local S, file2;
if nargs = 1 then file2:= cat(filename,".new")
else file2:= args[2]
fi;
if file2 = filename then error "File names must be different" fi;
S:= readbytes(filename,infinity,TEXT);
writebytes(file2,StringTools[SubstituteAll](S,"\\261","-"));
fclose(file2);
end;
Robert Israel "israel"
Department of Mathematics http://www.math.ubc.ca/~israel
University of British Columbia
Vancouver, BC, Canada V6T 1Z2
On Wed, 11 Dec 2002, emilio sanchez wrote:
> Hi Mugers,
>
> I am trying to generate a postscript file from a logplot with
> Maple 8 (Linux). Unfortunately the labels of the logarithmic
> axis do not appear correctly in the output file. I remember
> some discussions on this topic but, as usual, not the solution.
>
> I am using the follwing sequence;
>
> p1:=logplot(f(T), T=..., ... etc. ):
> display(p1); # this works correctly on the screen
> plotsetup(ps,plotoutput:=`./file.ps`);
> display(p1); # y-axis in ps file as wrong numbering
> plotsetup(default);
>
> Thanks for your help in advance!
>
> --
> Best regards,
> emilio "mailto:emilio.sanchez"
>
|
Previous by date: [MUG] Re: Maple and real-time data, John Richardson
Next by date: [MUG] Forcing Maple Output with Simplifying, Fraser Murray
Previous thread: [MUG] help! maple won't link external library, Richard Kaye
Next thread: [MUG] Forcing Maple Output with Simplifying, Fraser Murray
|