Using plot() or subplot(), my figures always save… disfigured. They look scrunched up. Here’s an example, on my screen the figure looks fine, without overlapping, but when saved I’ll get:
(You can tell mostly in the legend. For subplot(), the problems are generally far worse.)
I’ve tried saving in several formats (.jpg, .pdf, .eps)
I’ve tried setting the default figure size larger in .octaverc.
Out of curiosity, are manual changes, including figure re-sizing, supposed to be saved with the figure? Or will it only save the original output? (That is, saving from the figure output pane, not saving programmatically.)
I’ve also tried setting paperpositionmode explicitly to manual.
I am new to Octave, so I apologize if it’s a newbie error, and I appreciate any help.
- OS: Windows 10 (Education) (Work laptop)
- Octave version: 5.2.0 (okay, okay, I’ll try this first.), downloaded .exe
Brief snippet of how I used plot():
figure('Position',[100 100 1400 500]); set(gcf, 'PaperPositionMode', 'manual'); plot(t,DispTrans, t, Disp, t, SteadyState) xlabel('time (s)') ylabel('displacement (m)') legend('Transient Response','Displacement',... 'Steady State Amplitude','Location','southeast') set(gca,'FontSize',14);