Results 1 to 4 of 4

Thread: superscript/subscript in the labels read from data file

  1. #1
    Join Date
    Jul 2008
    Location
    atmosphere
    Beans
    24
    Distro
    Ubuntu

    superscript/subscript in the labels read from data file

    1 1 A_{3}
    2 2 C_{2}
    3 3 ^{5}C_{1}
    I have an input file like this to be plotted. The third column is for the labels on that point (in latex format). How do I get to appear these labels on the plot like they would appear after the latex compilation (as superscript/subscript/Greek alphabet etc.)

  2. #2
    Join Date
    Mar 2009
    Location
    the 'Lowlands'
    Beans
    70
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: superscript/subscript in the labels read from data file

    in which program do you plot it? Matlab?

  3. #3
    Join Date
    Mar 2007
    Beans
    286

    Re: superscript/subscript in the labels read from data file

    Just google matplotlib and gallery to see one way to do this, using python scripts. matplotlib has great support for tex-like text.

  4. #4
    Join Date
    Jul 2008
    Location
    atmosphere
    Beans
    24
    Distro
    Ubuntu

    Re: superscript/subscript in the labels read from data file

    Sorry, it is in gnuplot.

    @xadder
    Thanks for the suggestion. I shall try that.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •