Answered Where is the mistake of this code?
What's going wrong is in your logicals. For example, the first logical on the first loop will do
if [0 0 0 0 0 99] == 0
...
Answered Axes fontsize not changing
A possible workaround may be to try:
figure('DefaultAxesFontSize', 10);
axes('Position', [.1,.1,.8,.8]);
Out of c...
4 years ago | 0
Answered Matlab help! Need a little help!
Your first invocation of fread() failed because you had closed the file first, making fid invalid. You seem to have noticed this...
4 years ago | 0
Answered Matlab uses much more memory reading a file
Do you need to read the whole matrix at once or are you just doing a routine line by line? If you are just running something on ...
4 years ago | 0
Answered make axes bigger when mouse clicked
When you say "7 axes" are you meaning 7 separate axes objects or 7 series within a singular axes object? I am assuming you mean ...
4 years ago | 0
Answered Colour bars in a plot by data values
In any case, here's one way to do it, assuming your initial condition is as you want it.
for i = 1:length(pltvar1srt)
...
4 years ago | 1
| accepted
Answered Colour bars in a plot by data values
Few things:
1) Your final else conditional is not working as you intend it to, but not for the reasons you think. MATLAB is n...
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.