Overview | Layout | Export | FAQ

Panel 2

FAQ

How do I get started / find help?
At the Matlab prompt, help panel, help panel/panel, help panel/demo or doc panel.
What's up with semilogx, semilogy, loglog, not producing log scales?
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');
My dashed/dotted lines look tiny and/or grey and/or solid in an exported image file. Why?
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).