|
|
multiple fonts in legend text
Is there a way to include two or more fonts in legend text?
|
|
0
|
|
|
|
Reply
|
Vincent
|
11/18/2010 3:30:23 PM |
|
"Vincent " <vince.b.engelkes@seagate.com> wrote in message <ic3gqf$ka2$1@fred.mathworks.com>...
> Is there a way to include two or more fonts in legend text?
Hello,
Tried to do the same, but I couldn't find a way.
If you try to alter the font for selected parts of the legend in the legend property editor, the whole legend is affected. This leads me to believe it's not possible to use multiple fonts w/o rewriting parts of the legend function.
If someone thinks it is possible, I'd be very interested.
Erik
|
|
0
|
|
|
|
Reply
|
Erik
|
1/10/2011 6:22:06 PM
|
|
In article <igfioe$g41$1@fred.mathworks.com>,
"Erik de Boer" <e.c.deboer@student.tudelft.nl> wrote:
> "Vincent " <vince.b.engelkes@seagate.com> wrote in message
> <ic3gqf$ka2$1@fred.mathworks.com>...
> > Is there a way to include two or more fonts in legend text?
>
> Hello,
>
> Tried to do the same, but I couldn't find a way.
>
> If you try to alter the font for selected parts of the legend in the legend
> property editor, the whole legend is affected. This leads me to believe it's
> not possible to use multiple fonts w/o rewriting parts of the legend
> function.
>
> If someone thinks it is possible, I'd be very interested.
>
> Erik
Yes, it's possible. Use \fontname{} to change the font:
legend('The word {\fontname{times}Times} is in Times.')
You can also use \fontsize and \color. See the help for the 'String'
property of the function 'text'.
--
Doug Schwarz
dmschwarz&ieee,org
Make obvious changes to get real email address.
|
|
0
|
|
|
|
Reply
|
Doug
|
1/12/2011 12:54:15 AM
|
|
Doug Schwarz <see@sig.for.address.edu> wrote in message <see-AD320D.19541511012011@news.frontiernet.net>...
> Yes, it's possible. Use \fontname{} to change the font:
>
> legend('The word {\fontname{times}Times} is in Times.')
>
> You can also use \fontsize and \color. See the help for the 'String'
> property of the function 'text'.
>
> --
> Doug Schwarz
> dmschwarz&ieee,org
> Make obvious changes to get real email address.
Many thanks Doug. My thesis just got a little more professional.
Direct link for those interested:
http://www.mathworks.com/help/techdoc/ref/text_props.html
|
|
0
|
|
|
|
Reply
|
Erik
|
1/13/2011 11:49:06 AM
|
|
|
3 Replies
974 Views
(page loaded in 0.077 seconds)
Similiar Articles: multiple fonts in legend text - comp.soft-sys.matlabIs there a way to include two or more fonts in legend text? ... Change LATEX interpreter font in xlabel, ylabel, title - comp.soft ...multiple fonts in legend text - comp.soft-sys.matlab Change LATEX interpreter font in xlabel, ylabel, title - comp.soft ... multiple fonts in legend text - comp.soft-sys ... PROBLEM Component Line Font - comp.cad.solidworksmultiple fonts in legend text - comp.soft-sys.matlab Merging pdf files - embedded font - comp.text.pdf font problems in html to pdf ... PROBLEM Component Line Font - comp ... How to link axes and legend? - comp.soft-sys.matlabmultiple fonts in legend text - comp.soft-sys.matlab > Is there a way to include two or more fonts in legend text? ... Direct link for those interested: http://www ... Anyway to alter the default font size for ToolTips ? - comp.lang ...multiple fonts in legend text - comp.soft-sys.matlab... do the same, but I couldn't find a way. If you try to alter the font ... Font size in comments and callout boxes ... Add a Title to a Legend? - comp.soft-sys.matlab... Add a Title to a Legend? - comp.soft-sys.matlab Italic text in the legend - comp.graphics.apps.gnuplot Add a Title to a Legend? - comp.soft-sys.matlab multiple fonts in ... Italic text in the legend - comp.graphics.apps.gnuplotI am trying to create a text in the figure legend (or key if you will) that is ... silly questions, but do you know how to change text labels to have italic fonts? Chalk Font? - comp.fontsconcatenating multiple text files into one text file - comp.soft ... Reordering pages - comp.text.pdf Chalk Font? - comp.fonts Scan Multiple Pages into a single ... which ... Font size in comments and callout boxes? - comp.text.pdf ...Hello, I have Adobe Acrobat 8 Professional, which I use to read and mark up articles. When I add text boxes or callout boxes, the font that Acrobat ... italics label in legend - comp.soft-sys.matlab> > > > But I only want the "t_2" bit in italics and the "= 0.1" bit in normal font. ... in my early release (R12), the parens are passed thru to appear as text in the legend ... Quick-R: Axes and TextMany other graphical parameters (such as text size, font ... for background color, cex for size, and text.col for text color. Setting horiz=TRUE sets the legend ... 7/20/2012 10:37:02 PM
|
|
|
|
|
|
|
|
|