IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20511


Ignore:
Timestamp:
Nov 3, 2008, 5:20:55 AM (18 years ago)
Author:
Sebastian Jester
Message:

Quote _ in plot titles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/sj_ippTests_branch_20080929/ippTests/compIPPphoto.py

    r20510 r20511  
    738738
    739739def smSetup(x,y,logical,xrange,yrange,xlab,ylab,box1,box2,box3,box4):
    740     import sm
     740    import sm,re
    741741    sm.erase()
    742742    if not isNone(logical):
     
    751751    smBox(box1,box2,box3,box4)
    752752    if not isNone(xlab):
    753         sm.xlabel(xlab)
     753        sm.xlabel(re.sub('_','\_',xlab))
    754754    if not isNone(ylab):
    755         sm.ylabel(ylab)
     755        sm.ylabel(re.sub('_','\_',ylab))
    756756
    757757def smBox(box1,box2,box3,box4):
Note: See TracChangeset for help on using the changeset viewer.