How to plot an intensity graph?
3 views (last 30 days)
Show older comments
I have obtained an average value of red pixel count as well the time involved. How do I plot an intensity graph?
0 Comments
Answers (1)
Walter Roberson
on 11 Jan 2016
plot(t, average_red_value_vector);
xlabel('time');
ylabel('Intensity');
10 Comments
Walter Roberson
on 12 Jan 2016
In the code I give above, replace
folder_times(fold_idx) = ... you didn't say how you know the time
with
timestr = regexprep( folder_info(fold_idx).name, {'^[:]+:\s+', '\s+-\s+\d+$'}, {'', ''});
folder_times(fold_idx) = str2double(timestr);
See Also
Categories
Find more on Printing and Saving 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!