Adept Scientific - English
The world's best software for research, science and engineering.
flag arrow
clearclear
 

 Adept Store | register Join My Adept | Flags  
Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055  
UKusdedksvnofi
Home
Products
Training
Consultancy
 Buy Online
Downloads
Education
Support
My Adept
International |  About Us |  Contact Us |  Press Room |  Jobs


The Next Steps

• Ask us a question
• Maple Product Tour
• Buy Maple Now
• View Maple Pricing
• Download a Brochure
• Request a Brochure
• Download a Demo
• Request a Demo
• Meet Our Team
• Read our RSS Feeds

Learn More

Maple Home
Maple 12 Professional
Maple 12 Academic
Maple 12 Student Use
Recorded Online Seminars
FREE Training Resources
Maple Application Briefs
Maple Adoption Program

MapleNet
Maple T.A.
MapleConnect
BlockImporter for Simulink
BlockBuilder for Simulink
Maple Toolboxes
Maple Rave Reviews
Maple Study Guides
Books about Maple
System Requirements

Latest Information

New Features: Professional
New Features: Academic
The Maple Reporter Online
Numerical Algorithms Group
(NAG)


Service & Support

Maple Primes
blogs, forums etc

Elite Maintenance Program
Application Centre
Powertools
Search the Knowledge Base
Technical Support request

List Archives >  Maple User Group List Archive >  Archive by date >  This Month By Date >  This Month By Topic

[MUG] Logplot to file

Search email archive for  

[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



Ready to buy?

Maple - single user licence
Add to shopping basket
$ 1,895.00
Upgrade to Maple 12 from v11
Add to shopping basket
$ 995.00
Upgrade to Maple 12 from v10 & below
Add to shopping basket
$ 1,395.00

Featured Downloads

Maple White Paper: Technical Knowledge - An Asset You Can Afford to Lose?
Maple in Electronics Application Pack
Maple in Robotics & Aerospace Application Pack
Maple in Finance Application Pack

Product Reviews

"Without the Maple software, we would have to spend weeks generating the equations of motion for every experiment. Then the chances that we did it right would basically be near zero. There would always be a mistake somewhere. It is very difficult to set up a dynamic motion model by hand."
- Jean-Claude PiedBeouf, Ph.D Manager of Robotics, Canadian Space Agency

"Its very good - highly accurate and easy to use. The speed of Maple allows me to change equations and quickly reintegrate them into the application, so more possibilities can be explored to achieve the precise effect desired."
Shawn Neely, Senior R & D Director for PDI/Dreamworks
adept

Top of the Page

Our Privacy and Terms and Conditions Statement
All Trademarks Recognised. Copyright © 2007, Adept Scientific plc.
Site designed and maintained by Adeptise

Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055