MATLAB Answers

Some plot objects disappear when I zoom in 2016b

17 views (last 30 days)
Scott Payne
Scott Payne on 20 Dec 2016
Commented: Scott Payne on 20 Dec 2016
I have a function that plots a diagram then uses "hold on" and plots some markers and text, then "hold off". In 2015b I could use the zoom magnifier and all plot objects showed up. In 2016b when I use that same plot function and then I zoom in, my line plots and numerical text show up but my markers disappear.
  4 Comments
Scott Payne
Scott Payne on 20 Dec 2016
Notice that the yellow makers disappear after using the magnifier zoom tool. Also, my opengl settings are already globally set to use hardware opengl and my graphics card is listed as fully supported when I use "opengl info" to view my settings. Also, I have the settings of theis figure already set to use painters vector format.

Sign in to comment.

Answers (1)

Isabella Osetinsky-Tzidaki
% Try two ways:
% 1. Enlarge markersize
% 2. Play with
set(gcf,'renderer','opengl')
% or
set(gcf,'renderer','painters'),
% either must work for your goal
  1 Comment
Scott Payne
Scott Payne on 20 Dec 2016
The zoom works correctly if I switch to opengl, but then the whole figure is not in painters (vector) rendering anymore and is not publication quality. (The figure must be publication quality).

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by