A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [options]

Questions dealing with optional named arguments of Mathematica functions.

Filter by
Sorted by
Tagged with
10
votes
2answers
709 views

What do the options of SmoothKernelDistribution do?

The function SmoothKernelDistribution has three options that are not described in too much detail in the Mathematica's help window. InterpolationPoints: What is ...
10
votes
2answers
1k views

Solving/Reducing equations in $\mathbb{Z}/p\mathbb{Z}$

I was trying to find all the numbers $n$ for which $2^n=n\mod 10^k$ using Mathematica. My first try: Reduce[2^n == n, n, Modulus -> 100] However, I receive ...
10
votes
2answers
274 views

Bulletproofing packages against SetOptions of built-ins

Packages are (obviously) written in terms of built-in Mathematica functions. But many (if not, most) of these functions have options, like Expand, ...
10
votes
3answers
195 views

The very bottom of CellMargins is missing

Bug introduced in 8 or earlier and persists through 12.0 Edit 16. IV 2016 I've received an answer from WRI Support: [...] It does appear that CellMargins is not ...
10
votes
3answers
344 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. E....
10
votes
2answers
642 views

Why does ListPlot ignore some global options?

Bug introduced in 7.0.1 or earlier and fixed in 8.0.1' Why does the following plot no use the global PlotMarkers option? ...
10
votes
1answer
1k views

Triangle that collapse cells

I'm not very good in English , so is hard to explain but how put the triangle in the left that deploy or collapse a group of cells ?
10
votes
1answer
302 views

SplineDegree->1 does not work with BezierFunction?

This works (SplineDegree -> 2) ...
10
votes
1answer
671 views

Petrie polygon projection of a hypercube graph

I am trying to generate the Petrie polygon projection of the 8-cube in Mathematica, like this one: I tried using, for example, the HypercubeGraph function: ...
10
votes
1answer
778 views

Setting the DifferenceOrder Option

I've been playing around with Method in NDSolve[...] and can't quite seem to figure out how to force ...
10
votes
1answer
138 views

How to put Magnification control in docked cell

I have made a handy toolbar that provides access to menu items that are not visible when I F12 a workbook. I would like to add the following function to a button in the toolbar: ...
10
votes
1answer
4k views

Controlling the time step in NDSolve?

I generally use NDSolve for stiff non linear partial differential equations of 4th order. I find that a BDF1 method generally does well to placate my beast of a PDE. I've also tried out ...
10
votes
1answer
1k views

How to tell mathematica not to resolve stiffness issues

Very often I solve partial differential equations that are nonlinear and could be up to 4th order. In these cases, it is usual for the solution determined by NDSolve...
10
votes
1answer
200 views

Use EvaluationCompletionAction to notify me only after long evaluation

Is it possible to use the option EvaluationCompletionAction to notify me (e.g. with a Beep[]) when an evaluation that took ...
10
votes
1answer
136 views

Spelling check for InputField

Is it possible to enable ShowAutoSpellCheck for String InputFields? Similarly to ...
10
votes
0answers
137 views

NotebookWrite a Cell with WholeCellGroupOpener option [duplicate]

Why NotebookWrite[ EvaluationNotebook[], Cell["ZZ", "Section", WholeCellGroupOpener -> True] ] produces: ...
10
votes
0answers
120 views

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

Behavior remains unchanged through Mathematica version 11.1 As noted by kguler the Front End option: MessageOptions -> "MaxMessageCount" does not appear to have ...
10
votes
0answers
158 views

How can I obtain the absolute settings of some Grid options?

For example: Grid[{{10!}, {5!}}, ItemSize -> Full, Frame -> All] What's the real value of Full? How can I map the <...
9
votes
3answers
671 views

Set the style of a cell

I know it's possible to programmatically change options on the selection in a notebook. I'd like to create a button that lets me change the style of a cell. It's a style that doesn't have a keyboard ...
9
votes
1answer
221 views

When to use GenerateConditions -> True

Many functions, usuallly those involving integration, take a GenerateConditions option which often defaults to False, or at ...
9
votes
1answer
621 views

Methods Available for Derivative Pricing in Mathematica?

I am using Mathematica to price options (built in functions, no need to reinvent the wheel, right?). In the documentation, the Binomial method is used as an example of specifying a non-standard method....
9
votes
2answers
1k views

How to “undo” SetOptions (restore defaults)?

Say I had some good reason to use, for example SetOptions[Plot,ImageSize->500, LabelStyle->OutrageousPink]; But now sometime has passed, life has changed, ...
9
votes
2answers
277 views

Options for ValidationSet accuracy from NetTrain?

With NetTrain[] if you use the option ValidationSet->Scale[.1] it will run a validation test on 10% of the training data ...
9
votes
1answer
979 views

Creating self destructing notebook

Inspired by this post I've been trying to implement the idea in Wolfram with no success yet. I've come pretty close though and need some help. So I've managed to do this: ...
9
votes
1answer
224 views

What really makes a Dialog window behave as a modal dialog?

CreateDialog[DefaultButton[], Modal -> True] creates a modal Dialog, one which needs to be closed before the front-end ...
9
votes
1answer
103 views

Except @ OptionsPattern[] affects OptionValue

The background This example works as expected, small function with a special case rule: ...
9
votes
1answer
302 views

Why I cannot change the AxesStyle of the Plot?

Bug introduced in 8 or earlier and persists through 11.0.1 or later I am trying to plot the following single variable function: $$\small\frac{180 \sqrt{\pi ^2-625 t} \left(\pi ^2 (36 t-25)-1500 t \...
9
votes
2answers
306 views

SetOptions for CoordinatesToolOptions for DateListPlot?

Bug introduced in 10.0 and persisting through 11.0 or later DateListPlot does not respect my Options setting for ...
9
votes
1answer
261 views

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

Bug introduced in 10.0.0, fixed in 10.0.2 In version 10 using this Front End option no longer gives useful output: ...
9
votes
1answer
137 views

CellDynamicExpression is too sensitive in V11

Bug introduced in V11.0.0 and fixed in 11.1 ...
9
votes
1answer
279 views

Override a PlotTheme element at the Options level?

Edit: I am still using version 10.1; has anything changed by 11.0.1? Plot properties defined in a Theme override (supersede) properties defined on Options. This ...
8
votes
2answers
403 views

Are Mathematica commands always supposed to check that Method -> name is valid?

When calling a Mathematica command which accepts a Method -> name option, I always thought that if the name given is not a ...
8
votes
2answers
3k views

Mathematica 10, Show, and PlotRange

I have recently moved from Mathematica 8 to Mathematica 10, however I'm having a problem with PlotRange->All in combination with Show[]. For example, ...
8
votes
2answers
278 views

Weird behavior of conditions when using OptionsPattern and OptionValue

I'm trying to define a function that is evaluated differently depending on its options. This code ...
8
votes
2answers
2k views

How to set the NDSolve method to LSODA

I notice that off all the Method options available for NDSolve[...], LSODA is invoked quite ...
8
votes
2answers
204 views

Finding the center of the viewpoint in DynamicGeoGraphics

My goal here is to be able to display the coordinates of the center of a DynamicGeoGraphic which updates as the map is dragged (without right clicking on the map to ...
8
votes
2answers
259 views

Option inheritance: setting new defaults and private context

I'm having issues with inherited options for functions I defined in a package file. Setting new default options doesn't quite work as I expect. Also, a function which I'd like to stay private to the ...
8
votes
1answer
117 views

Increasing notebook magnification pushes output onto a new line

When I increase the notebook magnification beyond a certain level, it pushes the output of a command onto a newline. It does this normally when you enter something like ...
8
votes
2answers
545 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...
8
votes
1answer
63 views

Options of symbols without evaluating them

Try the following on a fresh kernel in 11.3 Options[Unevaluated[Plot]] (* {} *) The problem is that Plot -besides many other ...
8
votes
1answer
161 views

Inconsistent Authorization Dialog (401) handling

Bug introduced in V11 and fixed in 11.3 [CASE:3855554] was created [...] It does appear that the URLRead is not behaving correctly. I have forwarded an incident report to our developers with ...
8
votes
1answer
326 views

What are the arguments supplied to ColorFunction in MandelbrotSetPlot?

On the document of MandelbrotSetPlot, it said: With ColorFunction->f, where f is a function, the argument of f is a real number in proportional to the number of ...
8
votes
1answer
307 views

How can I add a background to a stylesheet?

In version 9 we can set the background to an image, however I'd like to save this into a stylesheet that can be installed.
8
votes
2answers
153 views

Random behaviour of Derivative(D[…]) with option “NonConstants”

Bug introduced in 8.0 or earlier and fixed in 11.1.0 Take the following example code: ...
8
votes
1answer
118 views

Exclude inactived functions from DifferentiationOptions

The list of functions provided in SystemOptions["DifferentiationOptions" -> "ExcludedFunctions"] show which symbols will not be touched by ...
8
votes
1answer
92 views

What is wrong with White Background for a DockedCell?

Bug introduced in V10.4 or earlier and persists through V11.3 ...
8
votes
1answer
88 views

Automatically adjusted ImageSize across a column

Button has this nice property that all Buttons in e.g. a Column will span to the size of the ...
8
votes
0answers
97 views

What is the philosophy behind \[Rule] (a.k.a. `->`) for assigning options?

Today I was banging my head against my desk when I realized that the problem I was experiencing was due to having typed ImageSize[Large] instead of ...
7
votes
3answers
445 views

Obtaining the number of iterations used in ReplaceRepeated

ReplaceRepeated has an option MaxIterations which indicates Mathematica is keeping track of the number of iterations. Is there ...
7
votes
2answers
303 views

How to specify and use nested options for a function?

I want to write a function that takes options that are nested. For example, suppose the function has one main option, "method" which can take two values, "a" and "b". Also, when method is "a", it can ...