Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 5478

Questions dealing with optional named arguments of Mathematica functions.

4 votes

Is there a way to clear all the CellChangeTimes lists in a notebook?

For a programmatic approach, this should work: CurrentValue[Cells[], CellChangeTimes] = Inherited; Then you may want to stop them being created: CurrentValue[EvaluationNotebook[], "TrackCellChange …
Kuba's user avatar
  • 138k
3 votes

Manipulation of Automatic settings in a given case

My dirty, as usual, post-processing solution Row@{ Plot[Sin@x, {x, 0, Pi}, PlotRange -> Automatic, ImageSize -> 300], Plot[Sin@x, {x, 0, Pi}, PlotRange -> Automatic, ImageSize -> 300] /. x : …
Kuba's user avatar
  • 138k
15 votes
Accepted

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

I was hesitating but it seems some people find this information useful. SetOptions[Manipulator, Appearance -> "Labeled"]; Manipulate[{a, b, c}, {a, 1, 10}, {b, 1, 10}, {c, 1, 10}] But, …
Kuba's user avatar
  • 138k
3 votes
Accepted

ParametricPlot Options Problem: PlotStyle and AxisLabel issues

About Axis, for two parameters th default is Frame so use FrameLabels. If there are two parameters then MMA expects some kind of surface, this causes confusion. What you see is not the "plot" but the …
Kuba's user avatar
  • 138k
3 votes
Accepted

How do I change one edge in a tree graph to a double arrow?

You could use SetProperty[{g, (11 -> 23)}, EdgeStyle -> {Arrowheads[{{-.05, .2}, {.05, .8}}]}] but since the offset is scaled relative to the line length, it's not possible in general to point the …
Kuba's user avatar
  • 138k
4 votes
Accepted

Fill total area between two ListLinePlot plots

I guess this is what you want: With[{ l1 = Transpose@{X1, Y1}, l2 = Transpose@{X2, Y2} }, Graphics[ { EdgeForm@None, FaceForm@LightBlue, Polygon[Join[l1, Reverse@l2]] , Thick, B …
Kuba's user avatar
  • 138k
2 votes

Delayed evaluation of functions in InputAutoReplacements and InputAliases

Not giving any guarantees but try with: SetOptions[ EvaluationNotebook[] , InputAutoReplacements -> { "test" -> ToBoxes @ Dynamic[DateString[], DestroyAfterEvaluation -> True] } ]
Kuba's user avatar
  • 138k
5 votes
Accepted

Manipulate Demo Full Screen

Stealing Lou's example, you can add a couple of options: CreateDocument[ Manipulate[ Plot[Sin[x (1 + a x)], {x, 0, 6}, ImageSize -> Full], {a, 0, 2}], CellMargins -> 0, ShowCellBracket … -> False, WindowSize -> Full] If you want those options to be always valid, you can put SetOptions[EvaluationNotebook[],...] into Initialization of Manipulate too. …
Kuba's user avatar
  • 138k
4 votes

How to programatically remove an option for all cells?

Does this fit your needs? Scan[ SetOptions[#, CellGroupingRules -> None] &, Cells[] ]
Kuba's user avatar
  • 138k
2 votes

How to hide inline Cells

One way is to go with stylesheets, you can set DefaultNewInlineCellStyle option for StyleData["Notebook"] and for this given style, a specific CellSize, then you can proceed with toggling it. But it i …
Kuba's user avatar
  • 138k
6 votes
Accepted

Use EvaluationCompletionAction to notify me only after long evaluation

It doesn't seem to be possible with EvaluationCompletionAction but you can wrap input with custom function using $PreRead and friends: $Pre = Function[expr, Module[{start, result}, start = …
Kuba's user avatar
  • 138k
2 votes
Accepted

Adding headers and/or footers to a stylesheet

Oh, ok, so it seems that by default PrintingOptions -> "FirstPageHeader" is False ref So now you can use what I've stated in comments, just add something like: Cell[StyleData["Notebook", "Printout"] …
Kuba's user avatar
  • 138k
3 votes

Creating notebooks with specific options being editable but not saveable

Approaches (none is perfect): NotebookDynamicExpression, something along those lines: NotebookDynamicExpression :> Refresh[ SetOptions[EvaluationNotebook[], WindowSize -> Automatic], None ] …
Kuba's user avatar
  • 138k
3 votes
Accepted

How to find out valid values for an option

You can observe what changes when you set it to Ignore: Dynamic @ CurrentValue[ $FrontEnd, {MessageOptions, "ConsoleMessageAction"} ] And you will see that the corresponding value is an empty li …
Kuba's user avatar
  • 138k
1 vote
Accepted

(SetOptions + Inherited) wrong behaviour in *EventActions?

It seems that Inherited is replaced with None when the FrontEnd parses the event action, before it is sent for evaluation. Don't know why this happens and how to judge it, you can ask WRI Support. Ne …
Kuba's user avatar
  • 138k

1
2 3 4 5
15 30 50 per page