List Archives > 
Maple User Group List Archive > 
Archive by date > 
This Month By Date > 
This Month By Topic
[MUG] domain of a logplot
| [MUG] domain of a logplot |
|
Author: Joe Riel Home
Posted: 02/11/2000 15:36:16 GMT
|
>> From: "Joe Riel (home)"
plot[loglogplot] and plot[semilogplot] use a log scale for the domain
(x-axis). However, the selected domain points appear to be distributed
linearly rather than logarithmically, so most of the points are at the
high end of the scale. Has anyone written a procedure to distribute the
points logarithmically?
Joe Riel
|
| [MUG] Re: domain of a logplot |
|
Author: Maple Group
Posted: 07/11/2000 14:40:19 GMT
|
>> From: Maple Group
On Thu, 2 Nov 2000, Joe Riel (home) wrote:
| plot[loglogplot] and plot[semilogplot] use a log scale for the domain
| (x-axis). However, the selected domain points appear to be distributed
| linearly rather than logarithmically, so most of the points are at the
| high end of the scale. Has anyone written a procedure to distribute the
| points logarithmically?
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
Date: Fri, 3 Nov 2000 10:00:45 -0800 (PST)
From: Robert Israel
To: mug
Subject: domain of a logplot
Yes. Try "Logplot" in my Maple Advisor Database,
http://www.math.ubc.ca/~israel/advisor.
It also corrects one other weakness, allowing tickmarks specified
as a list on a logarithmic axis.
Robert Israel
Department of Mathematics http://www.math.ubc.ca/~israel
University of British Columbia
Vancouver, BC, Canada V6T 1Z2
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
From: "Ruth Plathe"
To:
Date: Mon, 6 Nov 2000 09:54:57 +0000
Subject: domain of a logplot
Hello,
I have had this same problem. the only work around seems to be to
make a series of plots over a couple of orders of magnitude and use
the display() command to 'join' the plots together.
eg
with(plots):
> a:=semilogplot(sin(ln(x)),x=1..10):
> b:=semilogplot(sin(ln(x)),x=10..100):
> c:=semilogplot(sin(ln(x)),x=100..1000):
> d:=semilogplot(sin(ln(x)),x=1000..10000):
> e:=semilogplot(sin(ln(x)),x=10000..100000):
> ax:=semilogplot(0,x=1..100000):
> display([ax,a,b,c,d,e]);
The purpose of the ax is because maple plots from right to left and
having the ax plot gives you labels on the log axis.
Cheers Ruth Plathe
Ruth Plathe
Postgraduate Research Student
Centre for Imaging and Applied Optics,
Swinburne University
Ph: 9214 5680 (office)
9214 5686 (lab)
Fax: 9214 5840
|
| [MUG] Re: domain of a logplot |
|
Author: Metha Kamminga
Posted: 23/11/2000 19:28:49 GMT
|
>> From: Metha Kamminga
>>> From: "Joe Riel (home)"
>
>plot[loglogplot] and plot[semilogplot] use a log scale for the domain
>(x-axis). However, the selected domain points appear to be distributed
>linearly rather than logarithmically, so most of the points are at the
>high end of the scale. Has anyone written a procedure to distribute the
>points logarithmically?
>
Dear Joe Riel
Look at the following example to force Maple to devide the damain in
more equal steps.
f:=x->ln; with(plots):semilogplot(f(x),x=1e-7..1e7,style=point);
semilogplot([10^t,f(10^t),t=-7..7,style=point);
good luck, Metha Kamminga
http://i.am/metha
|
Previous by date: [MUG] patmatch and applyrule, Bill Page
Next by date: [MUG] Re: Mac/Unix/Win platform independent pathnames, Andrzej Pindor
Previous thread: [MUG] color scale, Jerome Benoit
Next thread: [MUG] Mac/Unix/Win platform independent pathnames, Denis Pollney
|