On 2/1/11 11:40 AM, Darren Dale wrote:
> On Tue, Feb 1, 2011 at 12:29 PM, Jason Grout
> <jason-s...@creativetrax.com>  wrote:
>> Observe the following image:
>>
>> import pylab
>> pylab.plot([0,1],[1,2],label="$\sigma'_0$")
>> pylab.legend()
>> pylab.savefig('test.png')
>>
>>
>> Notice that the \prime introduced by the single quote in the legend is
>> not raised above the \sigma, like it would be in TeX (i.e., in TeX,
>> $\sigma'_0$ is equivalent to $\sigma^\prime_0$, IIRC).  Is this a design
>> decision, or is it easy to fix?
>
> Did you try:
>
> pylab.plot([0,1],[1,2],label="$\sigma^\prime_0$")

Yes, both that and

pylab.plot([0,1],[1,2],label="$\sigma^'_0$")

work fine.  So we know a (somewhat clumsy) workaround.

Jason

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to