diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-04-04 22:08:36 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-04-04 22:08:36 (GMT) |
commit | 9501d6b7fba3514b18d216951543227758a37cbe (patch) | |
tree | 4dafcd4d34ac85d9ac2184cfbebe0eb98bbd601f /ds9/parsers | |
parent | b0837536c9d51ba03d4b87ce96dc5885537e61b5 (diff) | |
download | blt-9501d6b7fba3514b18d216951543227758a37cbe.zip blt-9501d6b7fba3514b18d216951543227758a37cbe.tar.gz blt-9501d6b7fba3514b18d216951543227758a37cbe.tar.bz2 |
add ds9 plot parser
Diffstat (limited to 'ds9/parsers')
-rw-r--r-- | ds9/parsers/plotlex.fcl | 1 | ||||
-rw-r--r-- | ds9/parsers/plotparser.tac | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/ds9/parsers/plotlex.fcl b/ds9/parsers/plotlex.fcl index 4a095e7..0ead655 100644 --- a/ds9/parsers/plotlex.fcl +++ b/ds9/parsers/plotlex.fcl @@ -34,6 +34,7 @@ dup {return $DUP_} duplicate {return $DUPLICATE_} error {return $ERROR_} errorbar {return $ERRORBAR_} +family {return $FAMILY_} file {return $FILE_} filename {return $FILENAME_} fill {return $FILL_} diff --git a/ds9/parsers/plotparser.tac b/ds9/parsers/plotparser.tac index 0440cfc..5d08418 100644 --- a/ds9/parsers/plotparser.tac +++ b/ds9/parsers/plotparser.tac @@ -36,6 +36,7 @@ %token DUPLICATE_ %token ERROR_ %token ERRORBAR_ +%token FAMILY_ %token FILE_ %token FILENAME_ %token FILL_ @@ -305,6 +306,7 @@ legendPos : RIGHT_ {set _ right} ; fontt : fontType FONT_ font {PlotCmdUpdateGraph "$1,family" $3} + | fontType FAMILY_ font {PlotCmdUpdateGraph "$1,family" $3} | fontType FONTSIZE_ INT_ {PlotCmdUpdateGraph "$1,size" $3} | fontType FONTWEIGHT_ fontWeight {PlotCmdUpdateGraph "$1,weight" $3} | fontType FONTSLANT_ fontSlant {PlotCmdUpdateGraph "$1,slant" $3} |