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

Home » Public Forums » archive » Changing the symbol, color, etc., of "mean" indicator in box plots
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: Changing the symbol, color, etc., of "mean" indicator in box plots [message #88484 is a reply to message #88473] Thu, 01 May 2014 12:22 Go to previous messageGo to previous message
laura.hike is currently offline  laura.hike
Messages: 87
Registered: September 2013
Member
On Wednesday, April 30, 2014 9:04:05 PM UTC-7, Chris Torrence wrote:
> On Wednesday, April 30, 2014 4:54:46 PM UTC-6, laura...@gmail.com wrote:
>
>> Can anyone give me syntax for changing the symbol used to indicate the mean in box and whisker plots made using BOXPLOT? This is the first time I've used the new graphics methods and obviously I'm missing something.
>
>>
>
>>
>
>>
>
>> http://www.exelisvis.fr/docs/boxplot.html tells me to "use this graphic symbol (SYMBOL_MEANS) to control all of the symbol properties for the mean values, if specified. See SYMBOL for more information," but I really don't understand what's said on
>
>>
>
>>
>
>>
>
>> http://www.exelisvis.fr/docs/symbol.html
>
>>
>
>>
>
>>
>
>> I tried setting foo.symbol_means using
>
>>
>
>> foo.symbol_means = 'tu' setting symbol_means
>
>>
>
>> using the symbol command (symbol_means = symbol(locations, means, 'tu', target = 'foo') and even
>
>>
>
>> foo = symbol_means(locations, means, 'tu') (where 'foo' is the name of the original graphic object).
>
>>
>
>>
>
>>
>
>> Most of the time the command was accepted but nothing changed in the plot. Any tips? Surely there's a quick solution.
>
>>
>
>>
>
>>
>
>> Thanks!
>
>>
>
>>
>
>>
>
>> Laura H.
>
>
>
> Hi Laura,
>
>
>
> That symbol_means actually returns a Symbol object, which you can then manipulate. For example:
>
>
>
> b = boxplot(...)
>
> s = b.symbol_means
>
> print, s ; prints out all the properties
>
> s.symbol = "tu"
>
>
>
> This assumes that you have set the mean_values keyword when you created the box plot.
>
>
>
> Cheers,
>
> Chris

Great, thanks! I assume I can also use these commands within a program. Having interactive graphics is nice for establishing layouts!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDLDoc + HTML
Next Topic: Font size appearance in function graphics PNG and EPS output

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

Current Time: Fri Oct 10 02:17:52 PDT 2025

Total time taken to generate the page: 0.80172 seconds