SourceForge logo
SourceForge logo
Menu

Re: [Matplotlib-users] mixing mathtext and regular text. possible?

From: Ryan K. <rya...@gm...> - 2005年12月08日 05:48:23
If you have dvipng and set text.usetex : True in your matplotlibrc file, th=
en
xlabel(r'$\rho^2$ along axis') works (and looks darn pretty thanks to Darre=
n).
Ryan
On 12/7/05, Mark Bakker <ma...@gm...> wrote:
> Does anybody know a way to mix mathtext and regular text, for example in =
the
> axis label?
>
> Something like
>
> xlabel(r'$\rho^2$ along axis')
>
> doesn't work. I know this is mentioned in the manual.
> Just wondering if somebody knows a workaround rather than using the full
> Latex option.
>
> Thanks, Mark
>

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /