- #1
guerom00
- 93
- 0
Hello everyone,
This drives me nuts… I want to plot a function using LogLinearPlot. Take a look at what's happening :
[PLAIN]http://img208.imageshack.us/img208/8346/picture4b.jpg
I printed the values of the variable passed to my function because I didn't understand what happened… Although omega must vary from 1*^-2 to 10, it evaluates to the Log of that ! (log[1*^-2] is -4.605…)
More interesting, I change other parameters in my function (I put kx=1, kz=0 instead of 3) and look what happens :
[PLAIN]http://img687.imageshack.us/img687/9155/picture5c.jpg
The very first instance of omega is still evaluated as Log[1*^-2] (sic) and after that, it's fine and omega is evaluated according to its specified range.
This is incomprehensible if you ask me…
This drives me nuts… I want to plot a function using LogLinearPlot. Take a look at what's happening :
[PLAIN]http://img208.imageshack.us/img208/8346/picture4b.jpg
I printed the values of the variable passed to my function because I didn't understand what happened… Although omega must vary from 1*^-2 to 10, it evaluates to the Log of that ! (log[1*^-2] is -4.605…)
More interesting, I change other parameters in my function (I put kx=1, kz=0 instead of 3) and look what happens :
[PLAIN]http://img687.imageshack.us/img687/9155/picture5c.jpg
The very first instance of omega is still evaluated as Log[1*^-2] (sic) and after that, it's fine and omega is evaluated according to its specified range.
This is incomprehensible if you ask me…
Last edited by a moderator: