Re: Equivalent of direct graphics PSYM=10 in function graphics? [message #80725] |
Tue, 03 July 2012 07:49 |
Paul Van Delst[1]
Messages: 1157 Registered: April 2002
|
Senior Member |
|
|
Excellent - exactly what I wanted. You're a star!
And to Exelis: document your product!!! Argh.
cheers,
paulv
On 07/02/12 21:34, Very Old IDL User wrote:
> On Monday, July 2, 2012 6:36:57 PM UTC-4, Paul van Delst wrote:
>> Hello,
>>
>> I'm plotting some histograms in both direct and function graphics (yes, I'm a masochist) and I like the clean look of
>> the PSYM=10 option in direct graphics. I would like to replicate that in function graphics (without embarking on a
>> month-long project to do so).
>>
>
> I believe you can use /histogram in function graphics. Last time I checked, it was still not documented. Don't know why. So something like
>
> p = plot(a, b, /histogram)
|
|
|
Re: Equivalent of direct graphics PSYM=10 in function graphics? [message #80732 is a reply to message #80725] |
Mon, 02 July 2012 18:34  |
Very Old IDL User
Messages: 3 Registered: May 2012
|
Junior Member |
|
|
On Monday, July 2, 2012 6:36:57 PM UTC-4, Paul van Delst wrote:
> Hello,
>
> I'm plotting some histograms in both direct and function graphics (yes, I'm a masochist) and I like the clean look of
> the PSYM=10 option in direct graphics. I would like to replicate that in function graphics (without embarking on a
> month-long project to do so).
>
> I create the histogram,
>
> qc_nbc_hist = HISTOGRAM(qc_dtb_nbc,BINSIZE=binsize,LOCATIONS=qc_nbc_locati ons)
>
> and display it in DG:
>
> PLOT, qc_nbc_locations, qc_nbc_hist, PSYM=10
>
> In FG I do the following:
>
> h = BARPLOT( qc_nbc_locations, qc_nbc_hist, $
> FILL_COLOR='light grey' )
>
> but it just doesn't look as good.
>
> I've scoured the help pages searching for fleeting references to examples where this capability may be documented but
> didn't find anything.
>
> Has someone serendipitously discovered how to replicate the PSYM=10 functionality in function graphics? Some
> undocumented (or buried) keyword that magically does what I would like?
>
> Thanks for any help.
>
> cheers,
>
> paulv
>
> p.s. I note all the plotting examples in the HISTOGRAM documentation are DG. So no help there.
I believe you can use /histogram in function graphics. Last time I checked, it was still not documented. Don't know why. So something like
p = plot(a, b, /histogram)
|
|
|