Why do my y-axis labels not print or show up correctly on print previews of my plots in MATLAB 6.5 (R13) on Windows XP?

12 次查看(过去 30 天)
Why do my y-axis labels not print or show up correctly on print previews of my plots in MATLAB 6.5 (R13) on Windows XP?
When the figure is printed, the first character of the y label appears in the correct spot. The remaining characters appear rotated 90 degrees counter clockwise and at the bottom of the printed sheet.
The following code is used to add the label:
ylabel('the label')
The following code works successfully. The ylabel appears correctly in the Print Preview, and prints correctly as well:
ylabel('the label','FontName','Times')
This does not work for all fonts, though. For example, if I substitute Arial or Helevetica in the explicit FontName option, the ylabel does not appear in the right place. ArialBold does work.

采纳的回答

MathWorks Support Team
This is a bug in MATLAB 6.5 (R13) that our development staff is currently investigating.
As a workaround, try specifying a fontname as follows:
ylabel('the label','FontName','Times')
This appears to work on some, but not all, fonts.
If you substitute Arial or Helevetica in the explicit FontName option,
the ylabel will not appear in the right place. ArialBold appears to work, as does Times.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Axis Labels 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by