Anyone know how to change fonts in figures when using Octave?
Anyone know how to change fonts in figures when using Octave?
(OP)
Ok... well I feel foolish. I didn't have Vera loaded on this machine. I tried Arial and it worked:
title("Pressure Vessel Cylinder\nStress Distribution",'FontSize',8,'FontName','Arial')
That said, I can't seem to figure out how to list what fonts are available. Any suggestions there? I tried listfonts and it doesn't seem to be implemented yet in Octave...
Also, it would be helpful if there were a way to change all of the fonts in the figure at once. set(h,'FontName','Arial') doesn't seem to work.
Thanks for the help.
title("Pressure Vessel Cylinder\nStress Distribution",'FontSize',8,'FontName','Arial')
That said, I can't seem to figure out how to list what fonts are available. Any suggestions there? I tried listfonts and it doesn't seem to be implemented yet in Octave...
Also, it would be helpful if there were a way to change all of the fonts in the figure at once. set(h,'FontName','Arial') doesn't seem to work.
Thanks for the help.
//signed//
Christopher K. Hubley
Mechanical Engineer
Sunpower Incorporated
Athens, Ohio





RE: Anyone know how to change fonts in figures when using Octave?
CODE
set(hh,'FontName','Arial')
//signed//
Christopher K. Hubley
Mechanical Engineer
Sunpower Incorporated
Athens, Ohio
RE: Anyone know how to change fonts in figures when using Octave?
CODE
set(hh,'FontName','/usr/share/fonts/dejavu/DejaVuSerifCondensed.ttf')
Well, the method above might be clunky, but it does a fine job of selecting new fonts. I've attached a sample.
Hope this helps someone out there. :)
//signed//
Christopher K. Hubley
Mechanical Engineer
Sunpower Incorporated
Athens, Ohio