Panel 2
FAQ
- At the Matlab prompt, help panel, help panel/panel, help panel/demo or doc panel.
- If you call select() on a new panel, it creates an axis for you. To protect font styling, it sets its "NextPlot" property to "replacechildren" (the default for new axes is "replace"). The high-level plotting functions semilogx, semilogy, loglog will not work correctly after this. There are two workarounds:
1) Call the plotting function first (to create the axis) and then select() the newly-created axis into the panel (rather than allowing Panel to create the new axis for you).p = panel; semilogx(1:10); p.select(gca);2) Set the axis scale type manually afterwards (this is all that semilogx does over plot).p = panel; p.select(); plot(1:10); set(gca, 'xscale', 'log');
- This is a problem with the Matlab renderer, rather than with Panel itself. However, Panel can help - see demopanelI for details (or help panel/fixdash).