Re: semilog in linux




"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


.



Relevant Pages

  • Re: key performance indicator
    ... A statisticus made a key performance indicator graph ... > Y axes: ... > So every item in the scale is plotted by its mean via the Y axes and by ... So you seem to have something about the importance ...
    (sci.stat.edu)
  • Re: Wrap by plot by 90?
    ... instead of the plus/minus 180-deg scale. ... Axes can, however, be relabelled arbitrarily by setting the ... XTick, YTick, or ZTick properties to the locations you want the ... or ZLabel properties to the strings you want those labels to show up as ...
    (comp.soft-sys.matlab)
  • Re: About setting the scaling properties of the axes OFF
    ... But can we scale the axes and turn it off and off...I haven't seen it in axes properties. ... geton an axes object will return all possible properties and you can ...
    (comp.soft-sys.matlab)
  • Re: the work space in Solidworks
    ... planes and axes don't scale. ... Also, blocks won't scale. ... axes to drive the overall layout of the bridge, it will not scale so it ...
    (comp.cad.solidworks)
  • JFreeChart, equal axes
    ... I have an XYPlot where I want the x and y axes on the same ... scale, ... methods to catch the plot area argument, but I think this includes axes ...
    (comp.lang.java.programmer)

Loading