Message Boards Message Boards

0
|
3266 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

How to find suboptions of options

Hi all,

I have a question about how to find out which "suboptions" are possible for an option.

E.g. in the help function there is an example:

data = Table[
   RandomVariate[NormalDistribution[\[Mu], 1], 100], {\[Mu], 0, 5, 
    1}];
DistributionChart[data, ChartStyle -> 14, 
 ChartElementFunction -> 
  ChartElementData["GlassQuantile", "Quantile" -> 9, 
   "QuantileShading" -> True]]

How can one find out which suboptions exist (e.g. "Quantile" and "QuantileShading") or if there are other ones? In my case, I wanted to use the option ChartElementFunction -> ChartElementData["PointDensity"] but cannot find anywhere if there are additional suboptions for the PointDensity presentation style. I have had this issue several times before with other options, not necessarily graphics related. Is there an overview anywhere over all possible suboptions?

Thanks for your help,

Max

2 Replies

Hello Mike,

thanks for this great solution! It works well for many types of Graphics.

Cheers, Max

Posted 3 years ago

Great question. I find myself going down this rabbit hole often.

First I look for a documentation page with the name of the option. If I cannot find it, then I google.

Unfortunately, I could not find a documentation page for GlassQuantile, so I continued down the rabbit hole and found the answer below at: https://mathematica.stackexchange.com/questions/11097/control-parameters-of-different-styles-of-distributionchart by googling: "wolfram glassquantile"

 {#, Column[ChartElementData[#, "Options"]]} & /@ 
   ChartElementData["DistributionChart"] // Grid[#, Frame -> All] &
POSTED BY: Mike Besso
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract