Menu

labels and fonts

Tarskin
2012-12-13
2012-12-13
  • Tarskin

    Tarskin - 2012-12-13

    Does PHPlot support a partially italic string as a label? For instance I would like to have "m/z values" as a label for my x-axis or will i be forced to do this via a (double) callback?

     

    Last edit: Tarskin 2012-12-13
  • lbayuk

    lbayuk - 2012-12-13

    PHPlot just passes the text strings to the PHP GD extension to draw, and GD has no way to change fonts within a string. If you really want to do it, you can use a callback (don't need 2). Here is an example from a previous thread.

     

Log in to post a comment.

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.