help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to scale the plot


From: Doug Stewart
Subject: Re: How to scale the plot
Date: Sat, 27 Apr 2013 10:46:33 -0400




On Sat, Apr 27, 2013 at 9:47 AM, z-999 <address@hidden> wrote:
Thanks, Ben. I did't see your replay.

the values are

250     0.0
500     0.0
1000   0.1
2000   0.8
4000   6.4
8000   51.1


How to apply log-log to the standard plot, because I want the slope. in
Computer Science the base for log is 2.

Thanks again.



--
View this message in context: http://octave.1599824.n4.nabble.com/How-to-scale-the-plot-tp4652351p4652375.html
Sent from the Octave - General mailing list archive at Nabble.com.
_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave



this makes a straight line and the values are in base 2.
q=load("d101.txt")
x=log(q(:,1))./log(2)
y=log(q(:,2))./log(2)
plot(x,y)

--
DAS

https://linuxcounter.net/user/206392.html

reply via email to

[Prev in Thread] Current Thread [Next in Thread]