hbar baseline handle always prints
I am taking a series of datapoints and overlaying many 'hbar' histograms. I am doing this by using the 'axes' command and then typing 'axis off' and setting the hbars transparent so that the reader can see both the datapoints themselves through the histogram and the probability distribution.
Everything looks great, however when I go to save the figure or print the figure, each 'axes' containing the hbars plots big vertical bar over my plot from the 'baseline' handle, i.e
B = barh(Y,n); baseline_handle = get(B,'BaseLine');
I've tried both:
set(baseline_handle,'Color',[1 1 1]);
so that the baseline handle should appear 'white' and not be printed or saved.. It appears okay in the MATLAB figure, but after saving or printing, the vertical dotted line streaks through my figure in black.
I tried this too
set(baseline_handle,'LineWidth',0);
This command is not allowed.
I've also tried
set(baseline_handle,'LineStyle','none');
which does not work either.
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!