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

Home » Public Forums » archive » Drawing the mean in cgboxplot
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: Drawing the mean in cgboxplot [message #88353 is a reply to message #88343] Wed, 16 April 2014 05:50 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Marta Yebra writes:

> I have modified CGboxplot to draw the mean in red including this:
>
> PLOTS, [xlocation, xlocation], [stats.mean,stats.mean], COLOR=cgColor('red'),symsize=2 , thick=12
>
> but I do not know how to make it look bigger!! it appears as a very little spot
> I have tried sysize but it does not work

This code draws a point. If that is what you are trying to do, then I
would use the PSYM keyword to add a symbol to the point:

cgPlots, xlocation, stats.mean, PSYM=16, Color='red', Symsize=3

If you are trying to draw a line, then you will have to make the line a
bit longer than a single point to see it well:

cgPlots, [xlocation, xlocation], [0,stats.mean], COLOR='red'

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.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: SVDC procedure
Next Topic: DLM "unload"?

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

Current Time: Fri Oct 10 10:10:50 PDT 2025

Total time taken to generate the page: 0.80179 seconds