1. ## Log Scaling

Hi guys
when i use the command semilogx(variable1,variable2) or semilogy(variable1,variable2) to polt a function where (Y-axis) is in a logarithmic scale
i get 50% of the required curve , because the 1st half of the curve is a stright line and the other is what i need
can you help me , i want to get the full correct curve.

2. Originally Posted by Zamorano
Hi guys
when i use the command semilogx(variable1,variable2) or semilogy(variable1,variable2) to polt a function where (Y-axis) is in a logarithmic scale
i get 50% of the required curve , because the 1st half of the curve is a stright line and the other is what i need
can you help me , i want to get the full correct curve.
What software?

CB

3. Matlab and the command i used was semilogx(variablex,variabley)

semilogy(variablex,variabley),loglog(variablex,var iabley) don't work either

4. Originally Posted by Zamorano
Matlab and the command i used was semilogx(variablex,variabley)

semilogy(variablex,variabley),loglog(variablex,var iabley) don't work either
What data are you trying to plot?

CB

5. BC thank you very much for helping me
the big mistake i did was my loop increment
the loop was from 1 to 1*10^6 , the increment statred from 1000
so , the the curve started from 0 then 1000 , 2000, 3000,.......
for this reason, the interval between 0 and 1000 was a stright line