naxmax.blogg.se

Matlab 2008 plot with secondary axis
Matlab 2008 plot with secondary axis










matlab 2008 plot with secondary axis

In this case, the first 3 point are ignored, since log10() is Something similar happens when you set the xaxis scale as logarithmic:

matlab 2008 plot with secondary axis

In this graph actually the first point x=-inf, y=0 is missing since the plot function simply ignores values such as -inf, inf, NaN.

matlab 2008 plot with secondary axis

In the first of your graph, you see the line starting from x=0, y=0 then climbing to x=0, y=0.43. You canget these points using the get function wiht the handles returned by cdfplot: x5=get(e,'xdata') The problem is due to the processing the function cdfplot makes on the input, coupled with the logarithmic representation.Ĭonsider the setSeven input data set (the same applies to setFive): the first 5 points generated by cdfplot are: x7= -Inf 0 0 0.0650 0.0650 The cdf of "five" in log scale x-axis does not go to 0. Here are the two graphs, one is in normal x-axis, the other is in log scale x-axis. I want to plot cdf of them in the same graph, with x-axis being log scale. I have two sets of data: setFive and setSeven. However, when I try to change the x-axis to log scale, the cdf plot of some sets of data do not display complete. When I use the normal x-axis, everything is fine. I am trying to use cdfplot() to plot multiple sets of data in one graph.












Matlab 2008 plot with secondary axis