LogarithmicPlot: semilogx() loglog()

02052014, 07:28 PM
Post: #1




LogarithmicPlot: semilogx() loglog()
Hello there!
I would very much like to be able to plot graphs (transferfunctions) with doublelogarithmic or semilogarithmic axes (with matching Ticks, meaning I know about the "Parametric Plot"App ) Is there any way to do this right now? Do I/we have to wait for an HPUpdate or (write) a customplotfunction? I hope iam not the only one missing/searching this function Cheers and thanks for any replies 

02062014, 04:04 PM
Post: #2




RE: LogarithmicPlot: semilogx() loglog()
You can always transform your data as a workaround and use a linear graph, until the PRIME folks add this to the OS.


03262017, 06:25 PM
(This post was last modified: 03262017 08:03 PM by Francis Mathews.)
Post: #3




RE: LogarithmicPlot: semilogx() loglog()
You can write your formula in terms of 10^x. The plot will be in terms of "decades". For instance, when plotting the amplitude in decibels of a function like F(s)=10s/((s+100)(s+1000), where s = i.x (i is the imaginary unit, and x is the angular frequency in radians per second), something that led me to this thread, I entered in the HPPRIME: F1(x) = 20*log(10*((0,10^x))/(((0,10^x)+100)*((0,10^x)+1000))), it is much easier to read on the HPPRIME screen. The plot versus x, which is actually the common logarithm of your original variable is just what I wanted.
To see the plot, I went to [shift] setup/plot and entered as the horizontal range for the plot x between 2 and 5, and y between 100 and 50. I have included a screen shot or three of the process below, click on it. Good luck on your journey! 

« Next Oldest  Next Newest »

User(s) browsing this thread: 1 Guest(s)