Questions dealing with optional named arguments of Mathematica functions.

learn more… | top users | synonyms

2
votes
1answer
29 views

Plot does not take range with OptionValue and PlotRange option

I am making a function that is to use Show to overlay a few plots of a function. I want the first Plot in ...
3
votes
1answer
60 views

How do I color Riemann integral rectangles using conditionals?

I'm builind a function to visualize the Riemann Integration process to any function using rectangles. Everything is fine, except that I need the color of the rectangles to change if they're under the ...
5
votes
1answer
103 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, ...
0
votes
0answers
24 views

Reset Options to Default [duplicate]

It is straightforward to set the options of a given predefined function. E.g., SetOptions[ Interpolation, InterpolationOrder->1] I would like to know if there ...
6
votes
3answers
384 views

How to disable differential styles/markers/etc. for multiple entities?

For functions that can produce multiple "style-able" entities, Mathematica by default will give each such entity a different style. Similar conventions apply to other features, either by default, or ...
4
votes
1answer
104 views

How to check the option value?

Given that I have a function func as follow: To check the value of options, I using the step-by-step method If[] ...
0
votes
1answer
67 views

Variable ViewPoint coordinates

Can I use the option ViewPoint on Graphics3D[], with its setting a variable function? For example: ...
-1
votes
0answers
82 views

Can we start a petition? [closed]

How about if we make petitions for Wolfram Research to add some features in the future version of Mathematica? I see a lot of great solutions which could be included in the future version of ...
8
votes
1answer
972 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 ...
7
votes
1answer
80 views

Way to add a same option to multiple functions

Just wanna figure out if there is a decent way to add a same option to multiple functions simultaneously. For example I have a series of SoundNote: ...
4
votes
0answers
48 views

NotebookWrite a Cell with WholeCellGroupOpener option

Why NotebookWrite[ EvaluationNotebook[], Cell["ZZ", "Section", WholeCellGroupOpener -> True] ] produces: ...
38
votes
3answers
3k views

How to find out which method Mathematica selected?

There are commands like NonlinearModelFit[] or NDSolve[] that have the option Method it ...
1
vote
0answers
44 views

How to replicate drawing applications' Quad-View playing with MatrixView?

I'm having trouble in figure out how to set the ViewMatrix in order to replicate the Quad-View that is available in drawing applications such as Blender. In these packages, if I drag the point of ...
1
vote
1answer
29 views

How to unset an notebook option programmatically?

This question is related, but not identical, to this one. Suppose one sets a notebook option like this SetOptions[EvaluationNotebook[], Foo->Bar]; ...and ...
9
votes
0answers
87 views

Confused by the opts : OptionsPattern[ ] pattern

I'm trying to make sense of the syntax in the clause opts:OptionsPattern[], as found in this standard "rule-based" (pseudo-)function definition pattern: ...
3
votes
2answers
59 views

Orderless storage of tabulated function values

I would like to elaborate on my previous question Function of arguments given in non-fixed order and a relevant related one Best practice of passing a large number of parameters to functions I find ...
11
votes
3answers
1k views

Pass list of options to Plot3D

Consider the example plotOptions = {PlotPoints -> 10, MaxRecursion -> 2} Plot3D[x y , {x, 0, 10}, {y, 0, 10}, plotOptions] Why does this causes the error: ...
6
votes
0answers
111 views

ShowSelection color

The color of a selection is controlled by the operating system. E.g., enter the following code in separate cells. ...
10
votes
1answer
221 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 ...
14
votes
2answers
443 views

Determining the default Method used in optimization and root-finding algorithms

Is it possible to extract the Method which is used in functions like NMinimize, FindRoot, ...
6
votes
1answer
247 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. ...
6
votes
2answers
145 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
104 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 ...
8
votes
1answer
168 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 ...
10
votes
0answers
178 views

More Ticks::ticks errors in AbsoluteOptions in v10

Bug introduced in 7.0 or earlier and persisting through 10.1 or later While the specific bug affecting Plot described in AbsoluteOptions prints error messages in ...
5
votes
0answers
56 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 ...
107
votes
5answers
4k 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 ...
6
votes
2answers
112 views

SetOptions for CoordinatesToolOptions for DateListPlot?

Bug introduced in 10.0 and persisting through 10.1.0 or later DateListPlot does not respect my Options setting for ...
13
votes
2answers
218 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
178 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
39 views

Consistency between MousePosition and WindowMargins

MousePosition["ScreenAbsolute"] absolute position within the complete screen display WindowMargins specifies the ...
10
votes
1answer
89 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
60 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
43 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
29 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: ...
20
votes
3answers
5k views

Is it possible to change the color of plot in Show?

For example: p = Plot[Sin[x], {x, 0, 1}] Is it possible to write options in Show to change the curve's color for example into ...
4
votes
1answer
68 views

Problem with AxesOrigin option in ListPlot

Please compare the output of these two similar codes: ...
5
votes
2answers
165 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 ...
0
votes
0answers
44 views

Parallel calculation with SetOptions

Is it possible to distribute the effect of SetOptions to parallel kernels? Here is how I encountered the problem: I am trying to calculate a lot of numerical ...
14
votes
2answers
256 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, ...
1
vote
1answer
30 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 ...
10
votes
2answers
462 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? ...
5
votes
2answers
251 views

How to make a notebook that will be window maximized when open?

I use CreateDocument[cells, opts] to create a notebook. When the notebook is open, it has a small default windows size and I need to manually maximize it every ...
2
votes
1answer
56 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 ...
2
votes
1answer
62 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
2
votes
0answers
37 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 ...
4
votes
1answer
75 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 ...
0
votes
0answers
143 views

Is there a way to give Mathematica extra memory?

I am running Mathematica 10 (Student Edition) on Mac OS X 10.7.5 on an old Mac Pro. I have lots of extra RAM that the system isn't touching, and I would like to give some of it to Mathematica in the ...
6
votes
3answers
206 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 ...