Questions tagged [customization]

Customizing interaction, the front end, or other aspects of Mathematica manually or programmatically.

Filter by
Sorted by
Tagged with
147
votes
9answers
45k views

1 Plot, 2 Scale/Axis

I would like to plot those two datasets on top of each other. But they have very different range on the $y$ axis. How can I have two different axis? I found the following on the help menu but quite ...
92
votes
2answers
5k views

Is it possible to define a new PlotTheme?

In version 10 one can define, say, $PlotTheme = "Scientific" Which changes the appearance of all plots. This is fantastic because on the one hand I can have nice ...
63
votes
1answer
1k views

Is it possible to customize the Suggestions Bar?

I'd like to be able to customize the Suggestions Bar in v9.0 to provide recommendations of my own. Possible example: when doing unit calculations, I'd like it to suggest converting the answer to ...
44
votes
4answers
8k views

How to change the default ColorData used in Mathematica's Plot?

This question leads on from the recent question What are the standard colors for plots in Mathematica? There it was determined that the default color palette used by ...
43
votes
3answers
1k views

Argument completions for user-defined functions

Mathematica 10 has introduced file name completion for the arguments of certain built-in functions, such as Import, SetDirectory,...
34
votes
3answers
2k views

How do I add new menuitems to menus?

What are some complete examples of what one would include in a FrontEnd init.m that would make use of FrontEnd`AddMenuCommands ...
34
votes
1answer
4k views

Is it possible to insert new colour schemes into ColorData?

Because of the standards in my field, for many plots I need to use (or at least end up using) rather narrowly defined colour schemes, and in particular the Matlab "Jet" scheme, which is well described ...
34
votes
0answers
925 views

Changing FrontEnd automatic scrolling in version 8

In Mathematica versions < 8, the FrontEnd has a very intelligent behavior: On evaluation, it by default automatically scrolls down the Notebook window to the last printed Output cell but also ...
33
votes
4answers
1k views

How to make a custom NN layer in Mathematica?

Is there a way to create our own custom layers for Neural Networks in Mathematica ? I suspect it should be possible, any pointers or directions on how to go about it? I am interested in ...
29
votes
4answers
7k views

Keyboard shortcut to evaluate notebook

(If this is entirely trivial, although I couldn't find an answer as much as I searched the archives, I will delete the question.) How could I add a keyboard shortcut to evaluate the entire notebook ...
28
votes
2answers
2k views

Switch from logarithmic to linear scaling partway along a plot's axis

In the 2015 Planck satellite results, they give the latest plot of the temperature power spectrum of the cosmic microwave background, which I show below. (I am only interested in the main plot; you ...
28
votes
2answers
19k views

Delete the current notebook cell using the keyboard

Is there another way than pressing Ctrl+. until the whole cell is selected and then pressing Del? If this is not built in, can I create some sort of a global macro to do this and bind it to a ...
27
votes
2answers
512 views

Is there a way to make the “Details” section of the Documentation expanded by default?

By default, the Mathematica documentation opens with the "Details" section collapsed. This is never what I'm looking for — in fact, I've lost count of the times I've sought help on a feature and not ...
26
votes
1answer
2k views

Customize keybindings without modifying files in the installation directory

I would like to know if I can modify key bindings without being able to modify the KeyEventTranslations.tr in the installation directory. So maybe putting another one in my home dir and linking to it ...
25
votes
1answer
565 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, ...
24
votes
1answer
292 views

How to get old message formatting in version 11?

Version 11 uses a new-style message formatting. The new style has useful features, and it is usually desirable. However, when saved in a notebook, it doesn't display correctly in older versions of ...
24
votes
2answers
1k views

Best way to add KeyEvents and faster Quit

Many users have asked how to add KeyEvents to speed/improve keyboard input. This is just a random example. The technique is always the same. It requires that you ...
23
votes
2answers
741 views

Context unique to each group at a specified level

Are there any new tools in v10 that might be applicable to this problem? Recent versions of Mathematica provide the option of having a unique $Context for each ...
22
votes
3answers
3k views

Mathematica Sec and Csc

How can I prevent Mathematica from using the "old fashioned" functions "Sec" and "Csc"? In Germany these functions are "old fashioned" as they are not taught anymore at school.
22
votes
1answer
703 views

Live code templates

I enjoy coding in the FrontEnd (except it crashes and lookup across files does not exist), but I often miss 'hands on keyboard', customizable code templates. E.g. I often forget to wrap an option ...
21
votes
5answers
1k views

Is it possible to Print expressions in reverse order?

Let's say I'm debugging a program step by step and want to Print some expressions (using ShowIt, for example). Is there a way to output the result of ...
19
votes
5answers
13k views

How to change default notebook background color?

How does one change the default notebook background color?
19
votes
2answers
2k views

Modify existing color scheme

I am using the "TemperatureMap" color scheme for image processing. How can I set the lowest color value to Black? Generally ...
19
votes
3answers
566 views

Parenthesize what I have highlighted

I want to highlight a piece of equation, click a button and have that part taken into parentheses.
19
votes
1answer
669 views

Creating a custom web API ServiceConnection

Can I build a custom API service connection that links into the standard framework? I know there are paclets that seem to implement this. How are they structured and how can I write my own?
18
votes
2answers
2k views

How can I change the keyboard shortcut for switching the active window?

The default keyboard shortcut (on Windows at least) for switching focus to the next window is Ctrl+F6, and for switching to the previous windows it's Shift+Ctrl+F6. How can I change this to Ctrl+Tab ...
18
votes
1answer
718 views

How to add named characters to Mathematica 10 or later?

Any news regarding this for Mathematica 12? It appears that native support for the Klingon alphabet has been removed from version 10: \[KlingonA] Syntax::...
18
votes
3answers
598 views

Non-english spell check dictionaries for Mathematica?

I've spent a fair amount of time bending Mathematica for taking notes and I've been very happy with it, the only missing piece it seems is a nice spell check dictionary for Polish (my mother language)....
17
votes
1answer
940 views

How do I remove the little × that shows up in the frontend when typing?

Version 11.1 now shows a little grayed out × (a multiplication sign) when one is editing something, to warn them that the expression will be interpreted as the ...
17
votes
1answer
460 views

Programming of a natural language interface

I've just started using the Mathematica natural language interface and found it very interesting. After doing some research, I found some documentation on the "Programmable Linguistic Interface": ...
17
votes
2answers
477 views

Evaluate selection in new window or new notebook?

Sometimes when you have long code you need to check some part of this code. the way I am using currently is to selected the part that I want and then copy it to new notebook and then evaluate it ...
17
votes
2answers
4k views

Rebinding keys to define new keyboard shortcuts

I've checked Mathematica → Preferences, and poked around the options on the toolbar. However, I don't see a way to define new keyboard shortcuts in Mathematica. I've used VIM for 10+ years, and I've ...
17
votes
1answer
350 views

Add spaces to Mathematica comment delimiters?

Not exactly the world's most pressing problem, but one that has now exceeded my tolerance level. If I comment out a line of input such as f[x_]:=x+1; with Alt-/ (...
17
votes
1answer
283 views

Can one effectively edit a Front End Resource that is already loaded?

A number of special definitions are loaded from .tr files on Front End initialization and are accessible via FrontEndResource. ...
16
votes
2answers
2k views

How to improve the typesetting of mathematical contents

Until I started diving into Mathematica, I was not using much computer software for symbolic computation. I did my analysis by hand on blank sheets, the calculations using Python or MATLAB, and the ...
16
votes
2answers
1k views

Set spell checking language

Version 11 brings real-time multilingual spell checking. The linked page says, The language is automatically detected as you type, but it can also be set manually. How do I set the spell checking ...
16
votes
2answers
1k views

Command Completion

Note: As of version 9, this functionality is available and works out of the box. I've a few questions about Command Completion in Mathematica. I recently discovered this feature, and it's really ...
16
votes
2answers
856 views

There is a button in the “basic math assistant” which wraps highlighted text in chosen brackets. Is there no keyboard command for this?

This counts as something of a basic question, but one for which I cannot find an answer. I checked the documentation, I checked google, I searched it here, I read a bunch of different things, but ...
16
votes
1answer
696 views

Google Drive API connection: (or how can I build a service connection to an OAuth2 service?)

From here I know how to build a a basic service connection. And that's fine in simple authentication cases but how do I do this for OAuth services? Even more specifically, how can I do this for ...
16
votes
2answers
371 views

What is the complete sequence of evaluations/transformations from submitting a cell to actual evaluation?

This question is inspired by that one. Reading it, I noticed that while (I think) I know what happens when entering an expression directly to the kernel (i.e. after typing ...
16
votes
1answer
255 views

How can I route edges manually for a Graph?

Most graph layouts supported by Mathematica use straight lines for edges; or at least something that only depends on the coordinates of the two adjacent vertices of the edge and nothing else. A ...
16
votes
1answer
331 views

How do I create annotations for functions?

In 10.3, Mathematica starts captioning symbol-names into foreign languages if your Interface preferences are set to have Mathematica in a foreign language. I poked around the ...
16
votes
1answer
398 views

How do I programmatically add to contextual menus?

To programmatically add to menus you can do as described here: How do I add new menuitems to menus? What can I do to programmatically add to contextual menus? Is something similar to ...
15
votes
1answer
511 views

ShowGroupOpener's behavior change in 11.3

Among many settings for a fresh installation I have CurrentValue[$FrontEnd, ShowGroupOpener] = True in order to have sections openers always visible. It does ...
15
votes
2answers
1k views

Customize front end to add notifications when evaluation finishes?

Is it possible to add some customization code to the front end, so that when all cells have finished evaluating, some user code can be run? Background: I'm currently running some Mathematica programs ...
15
votes
1answer
239 views

Make cursor stay in input cell

By default, after evaluating an input cell by hitting Enter or Shift-Return the cursor jumps below the corresponding output cell. Is there a way to make the cursor stay exactly where it was before the ...
15
votes
3answers
2k views

Opening a context menu (with the Menu key)

Is it by any chance possible to make the Menu key work as one would expect in Mathematica: opening a context menu? The Menu key does nothing in version 7 or 8 on Windows.
14
votes
3answers
1k views

Get tab key to indent a block of code

Is there some way I can change Mathematica keyboard behavior so I could select a block of text/code, press tab, and the selection would be indented to right? Similarly, I would like shift+tab to ...
14
votes
3answers
1k views

Opening new notebooks with a non-default window size

I'd like to set Mathematica (8.0.4.0) up so it opens new notebooks with the "NaturalColor" stylesheet and with a WindowSize like ...
14
votes
1answer
317 views

Change colours of Code

I want to change the colour of some important variables in my code. My code is quite long and sometimes I have to change these specific variables, but it is quite annoying to search them, beacause ...

1
2 3 4 5
7