Discussion:
log axis tics
(too old to reply)
Randy Yates
2007-08-13 18:33:15 UTC
Permalink
I've noticed that by default the axis tics for a log plot
(semilogx) are 1,2,5, and 8. Is there any way to make them
1-9? I've looked at the axis command but don't see it.

octave:21> version
ans = 2.9.9
--
% Randy Yates % "With time with what you've learned,
%% Fuquay-Varina, NC % they'll kiss the ground you walk
%%% 919-577-9882 % upon."
%%%% <***@ieee.org> % '21st Century Man', *Time*, ELO
http://home.earthlink.net/~yatescr
Randy Yates
2007-08-17 02:47:58 UTC
Permalink
Post by Randy Yates
I've noticed that by default the axis tics for a log plot
(semilogx) are 1,2,5, and 8. Is there any way to make them
1-9? I've looked at the axis command but don't see it.
octave:21> version
ans = 2.9.9
Is this group dead? Is octave dead?
--
% Randy Yates % "I met someone who looks alot like you,
%% Fuquay-Varina, NC % she does the things you do,
%%% 919-577-9882 % but she is an IBM."
%%%% <***@ieee.org> % 'Yours Truly, 2095', *Time*, ELO
http://home.earthlink.net/~yatescr
Francesco Potorti`
2007-08-17 08:29:55 UTC
Permalink
Post by Randy Yates
Is this group dead? Is octave dead?
This group is quite small, and many people are on vacation. A more
lively group uses the octave-help mailing list, as suggested on the
Octave manual.
david bateman
2007-08-20 16:25:13 UTC
Permalink
Post by Randy Yates
Post by Randy Yates
I've noticed that by default the axis tics for a log plot
(semilogx) are 1,2,5, and 8. Is there any way to make them
1-9? I've looked at the axis command but don't see it.
octave:21> version
ans = 2.9.9
Is this group dead? Is octave dead?
--
% Randy Yates % "I met someone who looks alot like you,
%% Fuquay-Varina, NC % she does the things you do,
%%% 919-577-9882 % but she is an IBM."
The primary support means for octave has and always will be the Octave
mailing lists. Try one of

***@octave.org
***@octave.org
***@octave.org

or the octave-forge list at

octave-***@list.sourceforge.net

Archives for these lists can be hand through Nabble at

http://www.nabble.com/Octave-f1895.html

and

http://www.nabble.com/GNU-Octave-Repository-f4192.html

respectively. This newsgroup was basically created by someone else
than an active Octave maintainer, and most Octave maintainers couldn't
care less about this group...

D.
Martin Thomas
2007-08-17 15:51:50 UTC
Permalink
Post by Randy Yates
I've noticed that by default the axis tics for a log plot
(semilogx) are 1,2,5, and 8. Is there any way to make them
1-9? I've looked at the axis command but don't see it.
octave:21> version
ans = 2.9.9
This kind of thing might help :-

a = [ 4,5,6,7,8,9,10];
x = [ 1,2,5,10,20,50,1000 ];

__gnuplot_raw__ ("set xtics ( 0,1,2,3,4,5,6,7,8,9,10,20,30,40,50);\n");
__gnuplot_raw__ ("set grid xtics;\n");
semilogx(x,a)
input('Type to continue')
david bateman
2007-08-20 16:27:11 UTC
Permalink
Post by Randy Yates
I've noticed that by default the axis tics for a log plot
(semilogx) are 1,2,5, and 8. Is there any way to make them
1-9? I've looked at the axis command but don't see it.
octave:21> version
ans = 2.9.9
--
% Randy Yates % "With time with what you've learned,
%% Fuquay-Varina, NC % they'll kiss the ground you walk
%%% 919-577-9882 % upon."
The plotting changed significantly from 2.9.9 to 2.9.10 and so things
are very different now.. That being said what you want to do wasn't
possible in 2.9.10 to 2.9.12 and a 2.9.13 release would be needed..

D.

Continue reading on narkive:
Loading...