idea for grace driver
This commit is contained in:
parent
966c340295
commit
00d26cda30
@ -44,7 +44,9 @@ class GracePlot(object):
|
|||||||
|
|
||||||
if "label" in kwds.keys():
|
if "label" in kwds.keys():
|
||||||
# TODO: implement at least greek symbols and lower upper case (_ and ^)?
|
# TODO: implement at least greek symbols and lower upper case (_ and ^)?
|
||||||
|
# with translate method?
|
||||||
label = unicode(kwds["label"]).encode('ascii', 'ignore')
|
label = unicode(kwds["label"]).encode('ascii', 'ignore')
|
||||||
|
|
||||||
self.cmds.append('S%i LEGEND "%s"\n'%(self.data_counter, label))
|
self.cmds.append('S%i LEGEND "%s"\n'%(self.data_counter, label))
|
||||||
|
|
||||||
if "ls" in kwds.keys():
|
if "ls" in kwds.keys():
|
||||||
|
@ -110,6 +110,7 @@ def static_cmplx(p, x ):
|
|||||||
return static
|
return static
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class YaffCmplx(Function):
|
class YaffCmplx(Function):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super(YaffCmplx, self).__init__()
|
super(YaffCmplx, self).__init__()
|
||||||
|
Loading…
Reference in New Issue
Block a user