cgmap__define error? [message #89689] |
Sun, 16 November 2014 23:15  |
Dave[4]
Messages: 38 Registered: December 2007
|
Member |
|
|
Hi david,
When I use cgmap object, the fellowing code return error:
trial_position = cgAspect(self._cg_aspect, margin=0.)
and I find the cgAspect have no "margin" parameter:
FUNCTION cgAspect, aspect_ratio, $
ALIGN=align, $
ASPECT=aspect, $
POSITION=position, $
SINGLE_PLOT=single_plot, $
WASPECT=waspect
So can you fix this. Very thanks!
dave
|
|
|
Re: cgmap__define error? [message #89696 is a reply to message #89689] |
Mon, 17 November 2014 04:55  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Dave writes:
> When I use cgmap object, the fellowing code return error:
>
> trial_position = cgAspect(self._cg_aspect, margin=0.)
>
> and I find the cgAspect have no "margin" parameter:
>
> FUNCTION cgAspect, aspect_ratio, $
> ALIGN=align, $
> ASPECT=aspect, $
> POSITION=position, $
> SINGLE_PLOT=single_plot, $
> WASPECT=waspect
>
>
>
> So can you fix this. Very thanks!
You can fix it by either updating your Coyote Library to the latest
version, or by changing MARGIN=0 to /SINGLE_PLOT.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|