idea for grace driver

This commit is contained in:
Markus Rosenstihl 2016-04-19 09:28:29 +02:00
parent 966c340295
commit 00d26cda30
2 changed files with 3 additions and 0 deletions

View File

@ -44,7 +44,9 @@ class GracePlot(object):
if "label" in kwds.keys():
# TODO: implement at least greek symbols and lower upper case (_ and ^)?
# with translate method?
label = unicode(kwds["label"]).encode('ascii', 'ignore')
self.cmds.append('S%i LEGEND "%s"\n'%(self.data_counter, label))
if "ls" in kwds.keys():

View File

@ -110,6 +110,7 @@ def static_cmplx(p, x ):
return static
class YaffCmplx(Function):
def __init__(self):
super(YaffCmplx, self).__init__()