Curve fitting & Plotting On Logarithmic y, linear x
15 次查看(过去 30 天)
显示 更早的评论
I have a plot which looks something like this;
![Capture.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/213575/Capture.png)
Which is a pretty nice plot upon which I'd like to curvefit. Within the curvefitting toolbox I can either input the data as plotted here, however the y axis remains linear giving me a horrible plot;
![Capture2.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/213576/Capture2.png)
And means the curvefitting is wrong. The next option is to input log(Ydata) which allows me curvefit to the dataset as I'm interested in it (note these are meaningless sample plots);![Capture3.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/213577/Capture3.png)
![Capture3.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/213577/Capture3.png)
The issue being my yaxis is then effectively meaningless data. What I effectively wish to do is have the curvefit seen last plotted with the y axis from the first plot.
Can anyone help?
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!