[Casa-framework] msplot tool
Joseph P. McMullin
jmcmulli at nrao.edu
Wed Oct 4 19:27:17 EDT 2006
Hi Lindsey,
This was a design choice to limit the number of windows a user needs
to be responsible for. The plot you describe is straightforward to
make within a single matplotlib frame (rather than creating two tools,
you have the one tool and you specify a mp.plotoptions(subplot=211)
for one and a mp.plotoptions(subplot=212) for the second).
If you really want to open a second frame just type:
pl.figure()
This creates a second frame and subsequent plots will go there; note,
however, that you can't go back to the first frame.
As for the showing the flags, yes, this is a coming enhancement. The
code exists but the interface thread isn't there in msplot.
Joe
On 10/4/06, Lindsey Davis <ldavis at nrao.edu> wrote:
> Hi,
>
> I have been experimenting with the casapy msplot tool alot
> and I am happy with the basic command line interface,
> although I have reservations about some of the matplotlib
> commands, especially subplot. I don't like computing indices
> in my head ... However there is one design restriction / feature
> that I am concerned about and that is the decision
> to support only one instance of the msplot window. Is this
> a deliberate decision, a let's get it working quickly now
> decision, or a technically based decision ?
>
> What I did alot with the glish version of msplot is bring up two
> instances of msplot and display raw data in one and reduced data
> in the other. I did not have to worry about figures, subplots, indices,
> overplots, or any setup at all, and the context of the two tools
> was entirely independent. At present I think the only way to replicate
> this use case is bring up two instances of casapy. Is this true?
>
> Another thing I would like to do to is choose to display the flagged
> data or not, e.g. something like
>
> mp.vistime .... showflags=True
>
> with the flags coming up in a different color or symbol. Is there
> a way to do this easily with the current mp tool ? I see some nice
> commands for manipulating flags, but not for displaying them. This
> was something that was not well supported in the old msplot as
> far as I could tell.
>
>
>
> Lindsey
> _______________________________________________
> Casa-framework mailing list
> Casa-framework at donar.cv.nrao.edu
> http://listmgr.cv.nrao.edu/mailman/listinfo/casa-framework
>
--
Dr. Joseph P. McMullin W: +15058357327
Scientist F: +15058357027
NRAO email: jmcmulli at nrao.edu
1003 Lopezville Rd
Socorro, NM 87801
More information about the Casa-framework
mailing list