Opened 18 years ago

Closed 18 years ago

#77 closed defect (wontfix)

Plotting oddities

Reported by: Chris Phillips Owned by: Malte.Marquarding
Priority: high Milestone: ASAP 2.1
Component: General Version: 2.0
Severity: normal Keywords:
Cc:

Description

The plotter is behaving in strage ways, specifically not plotting axis label for velocity data and not plotting the first IF in GHz units. This is using the Tid test data

data = scantable('data/tid-t002.rpf')
q = data.auto_quotient()
av = q.average_time()
av.set_restfreqs([ 23694.496,23722.633], 'GHz')
plotter.plot(av)
plotter.set_mode('p','i')
plotter.set_layout(2,1)
av.set_unit('km/s')    
plotter.plot()             # No velocity axis labelling
av.set_unit('GHz')
plotter.plot()             # No IF0

Change History (2)

comment:1 by Chris Phillips, 18 years ago

If set_layout is not used (so effectively (1,2) used), then I notice that both subplots have the same frequency range on the 'GHz' plot.

comment:2 by Malte Marquarding, 18 years ago

Resolution: wontfix
Status: newclosed

You specified a wrong restfrequency ( 23THz) the plottert can't handle the number of digits.

The first IF isn't plotted as the x-axes ar synchronised, and the values aren't within the limits. This can't be changed to autoscale, as this would affect "stacked" auto-scaling.

Workaround: rc('plotter',ganged=False)

Note: See TracTickets for help on using tickets.