-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Using
vlostring="$v_{lo}$=%5.2f" % (vlo) doesn't work either. Dave David D Clark wrote: > Hello, > > I am trying to create some text on a plot with the following commands: > > vlostring="$v_{lo}$="+str(vlo)+" t="+str(vlotime) > text(vlo,vlotime,vlostring) > > However, the text is rendered literally -- > > $v_{lo}$=0.3 t=7961.66 > > instead of nicely formatted LaTeX like text > > when I do > > text(vlo,vlotime,"$v_{lo}=$") > > without trying to add the str(...), it renders the expression correctly. > > Any suggestions? > Dave > - ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users - -- David D. Clark Electrical Engineer P-23, Neutron Science and Technology ph. 505.667.4147 fx. 505.665.4121 pg. 505.996.1416 e-mail mailto:[EMAIL PROTECTED] GPG Public key 0x018D6523 available at http://www.us.pgp.net http://www.gnupg.org has information about public key cryptography -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFGwgvzNu7GcwGNZSMRAjrzAJ9mgSOdnbBf7uYpgrARdDnF6S/XBQCfUh1O GKM4Xeg2wMhedNv/kyDmbTM= =zW3m -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users