Menu

#426 psrplot preprocessing does not work with overlay

next release
closed
None
5
2019-08-29
2019-08-29
Mike Keith
No

This may be known as the manual doesn't explicitly give any examples where this is used, but if you use the -O option to overlay plots you can't then use per-plot exec commands (or -j ":0:" type syntax) to do preprocessing. This means, for example, you can't have sub-integrations plotted with the tscrunched profile plotted beneith.

For example, in the folowing style file I would expect that the "flux" plot would be the tscrunched average of the subints, but in fact it just plots the first sub-int. If you do not use the -O option it behaves as expected, but produces two plots which is not so useful.

set=pub

plot flux
above:c=unset
below:l=unset
y:view=0.1:0.25
chan=I
exec tscrunch

plot time
y:view=0.25:0.9
x:lab= 
x:opt=BCTS

Discussion

  • Willem van Straten

    • status: open --> closed
    • assigned_to: Willem van Straten
     
  • Willem van Straten

    When the -O option is used, each Plot is wrapped by a MultiData instance; however, the MultiData class was not forwarding access to the wrapped Plot preprocessor ... this has been fixed in [master d705ccd10]

     
  • Mike Keith

    Mike Keith - 2019-08-29

    I can confirm that this fix works! Thanks Willem.

     

Log in to post a comment.

MongoDB Logo MongoDB