Questions tagged [options]

Questions dealing with optional named arguments of Mathematica functions.

Filter by
Sorted by
Tagged with
11
votes
1answer
137 views

Creating notebooks with specific options being editable but not saveable

The goal To create a notebook whose options, when the notebook is opened, are fixed regardless of edits done to the notebook. E.g. WindowSize -> Automatic and <...
11
votes
0answers
347 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 ...
11
votes
0answers
567 views

How to style and position VerticalCallouts and RadialCallouts

Here is a pie chart with a labels placed with a "VerticalCallout" ...
10
votes
2answers
728 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
3answers
199 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
353 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
3answers
739 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 ...
10
votes
2answers
648 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
2k 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
310 views

SplineDegree->1 does not work with BezierFunction?

This works (SplineDegree -> 2) ...
10
votes
1answer
739 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
873 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
146 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
215 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
143 views

Spelling check for InputField

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

NotebookWrite a Cell with WholeCellGroupOpener option [duplicate]

Why NotebookWrite[ EvaluationNotebook[], Cell["ZZ", "Section", WholeCellGroupOpener -> True] ] produces: ...
10
votes
0answers
121 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 ...
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
1answer
713 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
1answer
235 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
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
304 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
129 views

Why Optional in Set is not held by the HoldFirst attribute?

When evaluatingf[x_:x0] := x, x0 will be evaluated, regardless of the HoldAll attribute of <...
9
votes
1answer
992 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
234 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
107 views

Except @ OptionsPattern[] affects OptionValue

The background This example works as expected, small function with a special case rule: ...
9
votes
1answer
335 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
314 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
278 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
141 views

CellDynamicExpression is too sensitive in V11

Bug introduced in V11.0.0 and fixed in 11.1 ...
9
votes
1answer
332 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
410 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
290 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
218 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
278 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
121 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
584 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
71 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
165 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
369 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
318 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
1answer
302 views

Is it possible to prevent LUDecomposition from pivoting?

By construction, LUDecomposition performs LU-decomposition with pivoting; i.e., with row permutations (otherwise, the decomposition may not exist). Is it possible ...
8
votes
2answers
157 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
122 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
94 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
98 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
102 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 ...

1 2
3
4 5
11