Questions dealing with optional named arguments of Mathematica functions.

learn more… | top users | synonyms

2
votes
0answers
29 views

Is “MaxMessageCount” broken or is its function counter-intuitive?

As noted by kguler the Front End option: MessageOptions -> "MaxMessageCount" does not appear to have any affect on the number of times a Message is repeated ...
2
votes
2answers
50 views

InterplationOrder, ListPlot3D and using AbsoluteOption to find value used. Slow using InterpolationOrder

What lead to this, is when I noticed that ListPlot3D was much slower when adding a specific InterpolationOrder->n vs. not and ...
5
votes
3answers
206 views

difficulty abstracting the OptionValue pattern

I am building lots of functions that use Options and OptionValue and wanted to reduce the redundancy in the expressions that ...
3
votes
1answer
59 views

SpeechNavigation option. What is it for?

Could somebody please explain what is the use for SpeechNavigation option found in the option inspector?
3
votes
2answers
147 views

The value of an option inside a native function

I'm looking for something similar to AbsoluteOptions but that can be evaluated inside the function. That is, I want to read the absolute settings of options ...
16
votes
3answers
671 views

How to get the real PlotRange using AbsoluteOptions?

The problem in general involves the unreliable behaviour of AbsoluteOptions when option values are implicitly specified (e.g. ...
6
votes
0answers
96 views

In version 10 EvaluationCompletionAction “ShowTiming” no longer gives useful output; any solutions?

In version 10 using this Front End option no longer gives useful output: SetOptions[$FrontEnd, EvaluationCompletionAction->"ShowTiming"] In version 7 the time ...
11
votes
1answer
247 views

Can Manipulate controls have the option Appearance -> “Labeled” by default?

I was wondering if there's a way to tell Mathematica to use the option Appearance -> "Labeled" for all Manipulate commands by ...
7
votes
1answer
165 views

How to get grid lines at all (log) tick marks in Version 10?

In Version 7 using GridLines -> Automatic (or All) would put a grid line at every log-spaced tick mark: ...
13
votes
4answers
402 views

How to make a function with its own options as well as passing options to other functions [duplicate]

I have a function with many of its own options, but I would also like to pass options to subfunctions using the FilterRules function. Here's a simple example: ...
0
votes
2answers
68 views

Edit plot after creation [duplicate]

I try to find a way to manipulate a plot I created before. (for full code take the fuction x[t_]:=Sin[2t] ) Let's say I have a plot: ...
5
votes
1answer
113 views

Smarter way of manipulating plot style?

Say, I have a colorlist listColor={Black,Brown,Red,Cyan} Now, I have some Plot function that I can use this list: ...
10
votes
1answer
245 views

Pass Options to Export[]

I'm working with Options to change the look and feel of some generated Graphics by passing Options to several functions, one of them being Export[]. For example: ...
17
votes
3answers
282 views

Options which require RuleDelayed

For some functions in Mathematica it is important to use RuleDelayed. One prominent example is the EvaluationMonitor for ...
1
vote
1answer
61 views

ParametricPlot Options Problem: PlotStyle and AxisLabel issues

I am plotting the best response functions in a basic quantity setting Duopoly model using the ParametricPlot function. The issue is that the resulting graphs are ...
0
votes
0answers
49 views

Viewpoint options for a 3D plot [duplicate]

Let's say I created a 3D plot in Mathematica. It's not oriented the way I want it, so I manually rotate it (in the output cell) to a desired view. (I tried playing with some view options in the code, ...
3
votes
1answer
245 views

Make Plot look like Bloomberg terminal

I've always wanted to make my financial Plots look like a Bloomberg terminal. How would I go about making my chart look like one? I am talking specifically about ...
45
votes
2answers
2k views

Extract values for ViewMatrix from a Graphics3D

Under More Information in the help page of ViewMatrix the following entry can be found With the setting ...
14
votes
2answers
197 views

How do I get a list of allowed values for an option?

When using Mathematica how can I get a list of the allowed values of an option? As an example I can use the Options command as follows - ...
0
votes
1answer
95 views

How do you add options to a function that is being mapped?

Simple example: Normally: ListPlot[list, Joined->True] If I want to map ListPlot how do I keep the ...
5
votes
1answer
132 views

How to inherit options by scoping?

Consider the following example: you have a function framed producing a cell with a button that, when pushed, calls framed again. ...
4
votes
2answers
100 views

Fractions formatting in Column / Grid

Fractions are squished in GridBox: ...
5
votes
2answers
124 views

What are the Method options Solve command accepts?

What are the Method options Solve command accepts? Solve has the Method option, however documentation contains no methods that it accepts...
86
votes
5answers
3k views

How can one find undocumented options or option values in Mathematica?

Mathematica has a lot of undocumented or poorly documented options. How does one go about working out if there is an undocumented option that might solve a particular problem? How does one work out ...
9
votes
0answers
189 views

Setting non-standard ImageResolution for EMF export as default

Mathematica has a bug in that BarCharts and ListPlots with Filling will export as a ...
5
votes
1answer
122 views

Setting options of expressions similar to using SetOptions on objects

Introduction I often have the problem that in an expression, I want to change an option. If we are sure the option is not present, we could simply use ...
6
votes
2answers
209 views

Mesh at Ticks positions

In a ListPlot3D[ ] I want to have the Mesh at the same positions as the ticks. For some reason this isn't default if both are ...
0
votes
1answer
76 views

Blank plot that shows up briefly when changing plot options

I wrote some code in Mathematica to calculate and plot, in tw0 different ways, a function depending of two variables. But the plots are empty even if it takes a few minutes to evaluate the plot ...
4
votes
1answer
88 views

When to use GenerateConditions -> True

Many functions, usuallly those involving integration, take a GenerateConditions option which often defaults to False, or at ...
1
vote
0answers
53 views

Set Standard Plot Thickness [duplicate]

All of my plots should have the same set styling, that is, for instance, {ImageSize->460, Frame->True, PlotStyle->Thickness[0.004]}. Of course I do not ...
16
votes
4answers
682 views

How to plot a curve with border around the line?

This can be useful if the curve is passing over both dark and light backgrounds (like well-done subtitles in movies).
0
votes
0answers
66 views

Passing optional parameters to functions

Assume I want to write a function which has to have an argument structure like myFunction[variable_,parameters_] for compatibility reasons. Where parameters ...
1
vote
1answer
60 views

Reading Options from DateListPlots with legends

Normally I can recover the options used on a DateListPlot easily with Options[]. However if one of the options said a Legend should be attached, it appears all the options are then unreadable. For ...
1
vote
1answer
71 views

Forcing contours to close at edge

I have some data that I am plotting with ListContourPlot and I would like my contours to be closed at the edge (closing around the high value region). A simple ...
0
votes
2answers
79 views

How to store standard plot settings? [duplicate]

If I plot many graphs with some standard set of options. Is there a way to store this set so that i can have better overview/structure over my plotting commands? example, I plot a function f[x] with ...
3
votes
1answer
123 views

Arguments for ChartElementFunction

I was reading the documentation for BubbleChart and I saw this example ...
1
vote
2answers
57 views

How do I get the heading elements from the TableForm option TableHeadings?

The following, table = TableForm[ConstantArray[0, {3, 3}], TableAlignments -> Right, TableHeadings -> {None, {"One", "Two", "Three"}}] generates ...
1
vote
0answers
75 views

DifferentialEvolution scaling factor randomization

Using NMinimize for finding global minima, one can choose the DifferentialEvolution method. You can find a (not so) detailed ...
0
votes
0answers
31 views

Use Map with OptionValue [duplicate]

Trying to map OptionValue to a list of option names doesn't work. ...
8
votes
2answers
255 views

Manipulating OptionsPatterns[]

How do you combine OptionsPatterns? For example, I would like to have a function that can take both options that I specify, and options for all graphs: ...
0
votes
2answers
79 views

Coloring selected elements of a list created with Table [duplicate]

I have a function that returns a list of 100+ elements, using Table[]. For simplification, let's assume that it's just ...
10
votes
0answers
122 views

Unexpected design of protection against dynamic content

Introduction/summary I was surprised by the (from my point of view limited) extent to which the user is defended against "potentially unsafe dynamic content" by default. Two things were unexpected ...
6
votes
2answers
856 views

How to reverse the direction of the y axes

I have a similar question to this one. Unfortunately, the answers there didn't help me. I would like to plot a simple function with the normal Plot function. ...
4
votes
1answer
97 views

Variable widths on BoxWhiskerChart

BoxWhiskerChart automatically uses the same width for each of the boxes in a plot. I would like to force it to use a list of widths (with each width corresponding to a box). I'm working with time ...
1
vote
0answers
27 views

Possible bug while plotting homographic function with stylled axes (?!) [duplicate]

Seems like a bug to me, don't have time to dig more now. WinXP V9.0.1.0 ...
37
votes
6answers
2k views

How can I create a function with optional arguments and options?

Is it possible to create a function with optional arguments that also takes options? Here is a simple example. I have a function f with option "g". It also has ...
1
vote
3answers
83 views

Options in a StringReplace rule

case1 Options[f] = {"t" -> "0"}; f[___, OptionsPattern[]] := StringReplace["content", "t" :> OptionValue["t"]] f[] (* con0en0 *) case2 ...
8
votes
2answers
183 views

Orderless pattern matching of rule lists

I am looking for a compact way to specify a pattern to match a rule list with MatchQ that allows for enumerating the rules in the rule list in an arbitrary order. ...
2
votes
2answers
75 views

How can I generate a variable-length list of options in PieChart?

I would like to allow a user to manipulate the segments of a pie-chart, which is to be generated from a list of a specific format. The code looks something like the following: ...