Linked Questions

14 votes
7 answers

How to properly inject iterators into table? [duplicate]

Goofing off on a prior question, I was fiddling with other methods, which led me to the need to inject a constructed set of iterators into a table construct. Now, ...
ciao's user avatar
  • 25.9k
4 votes
1 answer

Reuse ParametricPlot3D plotting options [duplicate]

I create several ParametricPlot3D's that all should look the same: BoundaryStyle -> Thick, ...
u17's user avatar
  • 601
69 votes
10 answers

Injecting a sequence of expressions into a held expression

Consider the following toy example: Hold[{1, 2, x}] /. x -> Sequence[3, 4] It will give Hold[{1, 2, Sequence[3, 4]}] ...
Szabolcs's user avatar
  • 236k
28 votes
4 answers

SetOptions locally?

Is there a way to SetOptions locally? For example, I have a Module and inside it I am doing a lot of ...
a06e's user avatar
  • 11.4k
32 votes
3 answers

Consistent Plot Styles across multiple MMA files and data sets

I am starting to write a thesis for which I want to use MMA for all my plotting needs, mostly because a lot of the basic analysis has been done there. To ensure that I am applying styles consistently (...
tkott's user avatar
  • 4,959
19 votes
3 answers

Custom functions by delegating options in a specific way and using core functions

I'd like to create a custom function that does essentially the same as a core function of mathematica but uses different default settings. Example: I want a Plot function that uses Mathematica's core ...
dotcs's user avatar
  • 587
10 votes
4 answers

Efficient way to utilise Parallel features to make use of many cores

Let's say I have 100 cores/kernels as my disposal and want to compute a function of two variables f[x,y] over {x,1,10}, ...
fpghost's user avatar
  • 2,125
10 votes
3 answers

Problem when defining variable in Mathematica

I'm trying to run this: domain := {n, 0, 10}; Plot[n, domain] but it doesn't work. Instead, it generates the message ...
user12079's user avatar
  • 203
9 votes
1 answer

Forcing unifom axis scaling on a list plot [duplicate]

I'm trying to draw a ListPlot where the x and y axis have the same scale. My data is ...
Marco83's user avatar
  • 223
6 votes
2 answers

Passing list of options to Plot

I'm looking for a way to create a variable that I can use to hold all of the graphics directives for, say, a plot command. For example, I have 8 plots with variations on the following: ...
Scott's user avatar
  • 217
4 votes
4 answers

Plot range of a 2-dimensional function as a function depending on one variable

I want to plot a function of 2 variables x and y, for discrete values of y, like: ...
Santiago's user avatar
  • 1,201
5 votes
1 answer

Why is Evaluate[] in Plot[] not necessary in some cases?

after reading some related materials(Why do I have to put Evaluate[] here), in my understanding, BecauseAttributes[Plot] has ...
Aerterliusi's user avatar
4 votes
1 answer

Plotting function with unique symbols [closed]

I would like to plot a function which involves multiple symbols created using Unique. Consider the following simple example. ...
Markus Müller's user avatar
1 vote
1 answer

Is there a way to convert a string to a Table indicator? [closed]

I have a list like this: list = {"k1","k2"} I want to use the elements in the list as Table indicators: ...
Zihu Guo's user avatar
  • 299
2 votes
0 answers

Graphics options defined as a set [duplicate]

I need to use almost the same options for several graphics, and would like to simplify the code which is becoming pretty large. The example below should work, but it doesn't for a reason I don't see. ...
Cham's user avatar
  • 4,103