How to save a better resolution graphs from viewer pane

Can you provide the full code including a reproducible example ?