Re: semilog in linux
- From: "Steven Lord" <slord@xxxxxxxxxxxxx>
- Date: Wed, 11 Mar 2009 09:48:08 -0400
"Alan B" <monguin61@xxxxxxxxx> wrote in message
news:gp7c06$3f9$1@xxxxxxxxxxxxxxxxxxxxx
Does anyone else have the problem of semilogx and semilogy functions not
working in linux? These don't work for me, both in RHEL and Ubuntu. I know
I can set the axes scales, but why don't the functions work? They just
plot the data in linear scale.
Did you use HOLD ON to "lock" the axes in linear scale before calling the
SEMILOG* functions? Something like:
plot(1:10, 1:10);
hold on
semilogy(1:10, 10:-1:1)
From the reference page for HOLD:
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/hold.html
"hold on retains the current plot and certain axes properties so that
subsequent graphing commands add to the existing graph."
The phrase "certain axes properties" includes the XScale, YScale, and ZScale
properties.
--
Steve Lord
slord@xxxxxxxxxxxxx
.
- References:
- semilog in linux
- From: Alan B
- semilog in linux
- Prev by Date: Re: symbolic expression and its coefficient
- Next by Date: Re: Printing with exactly given pixel numbers
- Previous by thread: semilog in linux
- Next by thread: Symbolic expression
- Index(es):
Relevant Pages
|
Loading