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 #88473 is a reply to message #88469] Wed, 30 April 2014 21:04 Go to previous messageGo to previous message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
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
[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 07:44:06 PDT 2025

Total time taken to generate the page: 1.60177 seconds