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
2009-6-27
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Axis Labels 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!