2009/10/10 Tim Jenness <[log in to unmask]>:
> I've put in a hack to tide us over. HISTOGRAM now calls KPG1_DANOT to "do
> the right thing". Since it looks like nothing else calls KPG1_DANOT and that
> KPG1_DANOT has been deprecated and KPG1_DANOT should be deleted to avoid
> confusion,
KPG1_DANOT is used indirectly by INSPECT in KAPRH.
> I imagine that David will fix things properly next week to do it
> the "LINPLOT-way".
Done.
> I couldn't work it out and I couldn't see where I am
> meant to call KPG1_ASTTL to sort out the default title.
It was in KPS1_LPLFS. I've extracted the code that does this from
kps1_lplfs.f into a new kaplibs routine kpg1_saxat.f, and I've
modified histogram to use kpg1_saxat. It wasn't completely trivial as
linplot and histogram are structured very differently - linplot
creates it's plotting FrameSet early and then stores attributes in it
before using it to plot, whereas histogram doesn't actually create a
FrameSet at all (it delegates all the WCS and AST stuff to KPG1_GRAPH
which is a black-box drop-in replacement for an old pre-AST graph
plotting routine).
David
> Tim
>
> On Oct 8, 2009, at 1:25 PM, David Berry wrote:
>
>> I've added it to my list.
>>
>> David
>>
>> 2009/10/8 Tim Jenness <[log in to unmask]>:
>>>
>>> Is there a reason why the x-axis for HISTOGRAM plots does not include the
>>> data label and units? I would naively expect that axis to look a lot like
>>> the Y-axis of linplot. It just says
>>>
>>> "data value in FILE"
>>>
>>> whereas linplot says
>>>
>>> "noise ( pA Hz**-0.5)"
>>>
>>> (or whatever). I would really like HISTOGRAM to concur with linplot.
>>>
>>> --
>>> Tim Jenness
>>> Joint Astronomy Centre
>>>
>
> --
> Tim Jenness
> Joint Astronomy Centre
>
|