Clear Filters
Clear Filters

Why ploterrhist is not working in subplot?

3 views (last 30 days)
sujan ghimire
sujan ghimire on 11 Feb 2017
Commented: sujan ghimire on 11 Feb 2017
I used the below code and getting only the single figure? any suggestion.
subplot(2,1,1);
ploterrhist(e_ANN)
title('X');
subplot(2,1,2);
ploterrhist(e_SVM)
title('Y');

Answers (1)

Star Strider
Star Strider on 11 Feb 2017
You are plotting the same error data in both subplots. They will of course look the same.
  9 Comments
Star Strider
Star Strider on 11 Feb 2017
Edited: Star Strider on 11 Feb 2017
No, because I don’t know what you’re doing or how you got those vectors, so they are meaningless.
Instead of posting a couple vectors, post the code, attach do not post — your data as a .mat file (see the documentation for the save function to create it, then use the ‘paperclip’ icon to upload it), and perhaps we can help determine with the problem is, if a problem exists at all.

Sign in to comment.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!