How can I plot negative/zero error in logarithmic scale?
2 views (last 30 days)
Show older comments
I was trying to plot x vs. y where y is in logarithmic scale. Now I want to plot also the y-error on the same scale. Now the problem I facing when the data point is same with the error. For example I am plotting count vs. time. The usual error is sqrt(count). Now if the count is 1, so error is 1 too. Now I want to plot in semilog scale. Lower limit of the error is 0. So simply matlab erasing that errorbar (not the point). Now I want to have such kind of plot that lower limit of the errorbar just touches the xaxis..... Is it possible on matlab? I want to have this badly....
0 Comments
Answers (2)
Walter Roberson
on 1 Oct 2012
Maybe you should be using plotyy() with one of the plots in log scale and the other one not in log scale ?
0 Comments
See Also
Categories
Find more on Errorbars in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!