comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Comments on Coding Style
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Comments on Coding Style [message #70767 is a reply to message #70668] Thu, 29 April 2010 14:17 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 4/29/10 2:59 PM, David Fanning wrote:
> Mike Galloy writes:
>
>>>> Also, using one of the standard formats allows the Workbench to show
>>>> the help for the routine.
>>>
>>> How is this done?
>>
>> Nothing needs to be done to turn it on, just write the comments in
>> IDLdoc's rst format.
>
> But how is this accessed from the Workbench?

Ah, just mouse over a call to a routine in the editor. I see something like:

http://michaelgalloy.com/wp-content/uploads/2010/04/vis_conv ert_mouseover.png

VIS_CONVERT has a header like:

;+
; Use ImageMagick to convert a file between formats.
;
; :Params:
; basename : in, optional, type=string
; basename of file to convert (used for output name as well)
;
; :Keywords:
; density : in, optional, type=long, default=300
; density of output image in dots per inch
; scale : in, optional, type=long, default=100
; scale percentage to use
; from_extension : in, optional, type=string
; extension to use for input file
; from_eps : in, optional, type=boolean
; if set, indicates the input is a Encapsulated PostScript file
; from_png : in, optional, type=boolean
; if set, indicates the input is a PNG file
; from_ps : in, optional, type=boolean
; if set, indicates the input is a PostScript file
; max_dimensions : in, optional, type=lonarr(2)
; maximum dimensions for the output image in pixels
; to_extension : in, optional, type=string
; extension to use for output file
; to_eps : in, optional, type=boolean
; if set, indicates the output should a Encapsulated Postscript file
; to_png : in, optional, type=boolean
; if set, indicates the output should a PNG image file
; to_ps : in, optional, type=boolean
; if set, indicates the output should a Postscript file
; command : out, optional, type=string
; convert command
; output : out, optional, type=bytarr
; output image if output format is an image type
; convert_location : in, optional, type=string
; location of the convert command
;-
pro vis_convert, basename, $
density=density, $
max_dimensions=maxDimensions, $
scale=scale, $
from_extension=fromExtension, $
from_eps=fromEps, $
from_png=fromPng, $
from_ps=fromPs, $
to_extension=toExtension, $
to_eps=toEps, $
to_png=toPng, $
to_ps=toPs, $
command=cmd, $
output=output, $
convert_location=convertLocation

Mike
--
www.michaelgalloy.com
Research Mathematician
Tech-X Corporation
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: AO, SAO
Next Topic: Writing *.csv files

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 03:30:48 PDT 2025

Total time taken to generate the page: 1.20375 seconds