Questions dealing with optional named arguments of Mathematica functions.

learn more… | top users | synonyms

12
votes
1answer
266 views

How can I make FilledCurve smoother?

In How can I generate and randomly assign color to annular sectors? J.M. showed an interesting way to create a sector graphic using FilledCurve. Unfortunately it ...
6
votes
1answer
317 views

Compiling a function that takes lots of optional arguments

I have a function that takes lots of optional arguments (basically some design parameters, about 10 of them) and performs some basic algebraic calculations involving complex numbers with the options. ...
8
votes
2answers
197 views

What does the AspectRatio option actually do?

The Documentation for AspectRatio on its first line under the "Details" section states: "AspectRatio determines the scaling for ...
4
votes
1answer
127 views

AspectRatio option works unpredictably?

Let us examine the agreement between specified value for the AspectRatio option and the actual aspect ratio of generated plot. For this purpose I define a function ...
10
votes
1answer
318 views

Possible Method for MatrixExp

Well, probably a hard question, but I think it's better to cry out loud :). I noticed that MatrixExp owns Method option when ...
16
votes
2answers
297 views

Clean and handy Options management/filtering

the case I want to be able to create a function with some default options but also without need to add full explicit list of options available for it. And then inside I want to be able to filter ...
12
votes
1answer
211 views

Is there a good reason for the removal of this FrameTicks syntax?

In past versions of Mathematica one could use a terse syntax for FrameTicks: {bottom, left, top, right} In 10.1 this syntax is no longer recognized requiring the ...
1
vote
1answer
130 views

Correctly specifying Filling option for ListPointPlot3D

I'm fitting a linear model to some three dimensional data (x,y = explanatory variable, z = predicted variable). I am trying to visualize the data and model fit using a combination of 3D plots. ...
2
votes
1answer
63 views

Logic behind Graph[edges, VertexLabels -> “Name”]?

I find VertexLabels -> "Name" a strange setting to achieve graph nodes labeled by their index: ...
1
vote
0answers
37 views

the “natrual value”and the “Pruning”

There are two question by following: First: I want to know the option's natrual value,the the mathematica tell me that it is "Automatic".When I try to get it like this: ...
1
vote
1answer
55 views

Consistency between MousePosition and WindowMargins

MousePosition["ScreenAbsolute"] absolute position within the complete screen display WindowMargins specifies the ...
8
votes
2answers
206 views

SetOptions for CoordinatesToolOptions for DateListPlot?

Bug introduced in 10.0 and persisting through 10.2.0 or later DateListPlot does not respect my Options setting for ...
4
votes
1answer
125 views

Problem with AxesOrigin option in ListPlot

Please compare the output of these two similar codes: ...
16
votes
1answer
213 views

Prompt a set of possible options

Recent versions of Mathematica dynamically prompt a list of possible options. For example, when typing Plot[x, {x,0,1}, PlotStyle-> After typing the arrow, ...
1
vote
1answer
58 views

How to set options in Option Inspector in notebooks by running commands?

It involves an order of magnitude more mouse clicks and visually searching text to set some option in the Option Inspector (which is a UX nightmare) than doing that in a notebook by running some ...
17
votes
2answers
321 views

Inline documentation of “Properties”

Context I find the documentation has become a bit of a maze, in particular given the more recent convention of having keywords has strings rather than Mathematica Keywords. For instance, ...
2
votes
1answer
175 views

How can I change printing margins by page?

I want to have different margins in my notebook for bookbinding. I could change header and footer, but I couldn't individually change page margins
3
votes
0answers
58 views

Where can I find detailed information about the SystemOptions?

I'm looking to optimize my Mathematica script, and I'm willing to go spelunking with low-level system options. The problem is that I've been looking in the Mathematica documentation, but there doesn'...
7
votes
3answers
280 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 ...
9
votes
1answer
240 views

Front End options

Inspired by a recent question and others like it, and not finding an existing duplicate, I ask: What is the hierarchy of Front End options? How do they work? How can their values be set and recalled?...
1
vote
0answers
62 views

Confusing NullSpace Method behaviour

The background of this question is that I'm trying to get the bottom of when the output of NullSpace outputs a list of pairwise orthogonal vectors. On my route to ...
3
votes
0answers
142 views

PlotRange->Automatic the exact function used to calculate outliers

I know that PlotRange->Automatic does the following: "the distribution of coordinate values is found, and any points sufficiently far out in the distribution ...
2
votes
0answers
57 views

Error message with RegionPlot after SetOptions

I get an error message with SetOptions[RegionPlot, ImageSize -> Medium]; RegionPlot[u v (1 - v) >= 10, {v, 0, 1}, {u, 0, 100}] that says ...
12
votes
2answers
340 views

Method options for DensityPlot and ContourPlot

What Method options are allowed for DensityPlot and ContourPlot? I am unable to find this ...
18
votes
0answers
414 views

More Ticks::ticks errors in AbsoluteOptions in v10

Bug introduced in 7.0 or earlier and persisting through 10.4 or later While the specific bug affecting Plot described in AbsoluteOptions prints error messages in ...
0
votes
0answers
57 views

Two installations of MMA 10.0.1.0 differ in behavior [duplicate]

I'm seeking advice on how to track down what might cause the following difference in behavior. I have two independent installations of MMA 10.0.1.0, both on Mac OS X Mavericks on identical x86 Mac ...
1
vote
0answers
84 views

Auto-completion for option values in user-defined functions [duplicate]

In here, and all it's closely related links, I cant find anything that tells me how to set a list of the optional arguments. All I want is something like this ...
1
vote
1answer
129 views

Using ListVectorPlot[ ] and eliminating vectors at points where there shouldn't be any

I am trying to make a plot displaying the following type of information. I have a finite set of 2D-coordinates. For each coordinate point, I have a 2D vector associated to that point. The vector is ...
19
votes
2answers
330 views

Where is the old option TraceInternal->True?

Already at least in version 2 (I think), the function Solve calls the function Roots. At that time, I had a rather dirty trick, that still works, to verify this: ...
3
votes
1answer
74 views

Changing size and/or aspect of OpenerView in Mathematica 10

I would like to change the size of the Opener in OpenerView when using Mathematica 10. In Mathematica 8, there was the option <...
7
votes
1answer
281 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, ...
3
votes
3answers
245 views

How to return the value of Automatic when it is used in a Mathematica function?

If I have a function, for example: p1 = Plot[Evaluate[S[t]*10^-12 /. sol], {t, 20 10^-9, 49 10^-9}] and this function is setting options->Automatic so the ...
6
votes
1answer
160 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 ...
4
votes
1answer
140 views

Manipulate Demo Full Screen

Is it possible to create a demo using Manipulate and then open it in a document that can be expanded to full screen?
6
votes
2answers
175 views

Using a held option

Woud there be an elegant way to use a held option ? For example if I need to pass by reference several variables but I don't always need all of them, it can be useful. For example if I want to append ...
4
votes
1answer
81 views

Why are the edge items in Grid truncated?

The first and last rows and columns of my Grids always seem to be smaller than all the other rows in my Grid, as of they had ...
5
votes
2answers
251 views

Labelling a subset of contours using ListContourPlot

I have a data set with entries of the form [nx,ny,E] and have made a contour plot of this data. I would like to add labels to only a subset of these contours, for instance every other contour. How ...
29
votes
1answer
550 views

How to extract a list of available Method-s

The option Methodapplies for several functions, such as NDSolve, FindRoot, ...
11
votes
2answers
296 views

How do I override options with my own defaults?

I'm calling a function f from within a function g and would like to pass any valid options for ...
3
votes
0answers
152 views

What are the possible values of sub-options for Classify[]?

Specifically, how can I find the possible values of sub-option "KernelType" of option "Method" for Classify? Here's an example: ...
6
votes
1answer
217 views

How to find the options available for a function? [duplicate]

I was trying to create an animated .gif with Mathematica. I knew that the function to use was Export["animation.gif",tableplot] where ...
10
votes
2answers
629 views

How to change NeuralNetwork options?

How can I manipulate the architecture and problems of a NeuralNetwork in Predict or Classify? For example, running the following ...
11
votes
0answers
303 views

PenaltyFunction Option in NMinimize

I am curious if anybody has some experience in using the built-in Option "PenaltyFunction" in any of the numerical optimization functions like NMinimize. According to the documentation the user ...
0
votes
1answer
69 views

How to change an option's value for a specific object?

I have a Graph object x such that GraphLayout /. AbsoluteOptions[x] evaluates to ...
6
votes
2answers
203 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 ...
6
votes
2answers
318 views

How to write complex function definitions at run time?

(Posting as a self-answered question to share a technique I discovered) In a certain project, I have many function definitions in which all parameters should be optional and come with default values. ...
4
votes
2answers
831 views

Histogram with variable bin size [closed]

Suppose I have some dataset,e.g., Histogram[RandomVariate[PoissonDistribution[2], 10000], 10] which gives, $\hspace{2cm}$ How can I change the histogram such ...
10
votes
1answer
122 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 ...
9
votes
0answers
80 views

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

Behavior remains unchanged through Mathematica version 10.1.0 As noted by kguler the Front End option: MessageOptions -> "MaxMessageCount" does not appear to ...
2
votes
2answers
97 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 ...