57 votes

Is it possible to define a new PlotTheme?

Illuminated by @Mr.Wizard's answer, here I provide a complete example of a self-made plot theme, called "Academic". It can be used as a base theme. The axes ...
  • 2,157
43 votes
Accepted

Argument completions for user-defined functions

There is an undocumented file in the installation directory named specialArgFunctions.tr: ...
  • 67.5k
36 votes
Accepted

Is it possible to insert new colour schemes into ColorData?

Extending ColorData For some background consider reading this bookmarked conversation. The color scheme data itself is accessed through the definition of this ...
  • 265k
31 votes
Accepted

Modify existing color scheme

I wrote the ColorBar package exactly for this purpose and it makes such modifications easy. The README.m should give you all the instructions you need, but I'll ...
  • 87.2k
30 votes
Accepted

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

Thanks to the hint by Jason. It is called AutoMultiplicationSymbol. It can be turned off in the Option Inspector: It worked. Now ...
  • 116k
29 votes

Argument completions for user-defined functions

Before you start using this, be aware that this is all undocumented and unsupported functionality. It may change at any time, it may crash Mathematica, and it may bite you when you least expect it. I ...
  • 228k
27 votes
Accepted

Prompt a set of possible options

Thanks for asking this question; I might not have discovered this customizable area without it. The auto-completion option values are automatically loaded on Front End start from: ...
  • 265k
26 votes
Accepted

How to get old message formatting in version 11?

We can get old-style messages using Internal`$MessageMenu = False Needless to say, this is unsupported and undocumented functionality.
  • 228k
25 votes
Accepted

Customize keybindings without modifying files in the installation directory

You can see what can be done by running (maybe inspecting it in a browser first) Get["http://www.mertig.com/shortcuts.m"] This code will generate a modified copy ...
  • 16.9k
25 votes

Programming of a natural language interface

OP seems to be mostly interested in Mathematica's built-in capabilities for grammar definition, parsing, and interpretation, but I think some of the questions asked can be seen and answered within a ...
24 votes

Live code templates

Revision history: v0.8.0 (06-07-2018) VerificationTest template v0.7.0 (21-02-2018) V10.4 support As of v0.7.0 code templates should work in V10.4. Yes, in a beta stage at the moment. Feedback ...
  • 133k
22 votes

1 Plot, 2 Scale/Axis

Hope is the last to die. Nine years later, we finally have a native multi-axis implementation. ...
  • 25.6k
22 votes
Accepted

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

Ok, here's a very brief toy example while I don't have access to my desktop computer at work. It's easy enough to figure out, that a LogPlot of ...
  • 11.3k
21 votes

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

If you are comfortable using undocumented and unsupported functionality we can do this with a ScalingFunctions option as I did for ListLogLinearPlot for the whole ...
  • 265k
21 votes
Accepted

Parenthesize what I have highlighted

I have this palette open all the time: ...
21 votes

Creating a custom web API ServiceConnection

Template Notebook I sunk some time into making a good template notebook for integrating with all this. It lives here: https://github.com/b3m2a1/mathematica-BTools/blob/master/Resources/Templates/...
  • 45.8k
20 votes

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

Code See this for the main issue that made it take so long to get this up If you just want the service connection you can get it like this: ...
  • 45.8k
19 votes
Accepted

How to efficiently input matrices in Mathematica (compared to what MATLAB offers)

Quick-n-dirty. I dispense with open/close bracket, trivial to put in if it matters: ...
  • 25.2k
18 votes

Is it possible to customize the Suggestions Bar?

Yes! It is possible, although it takes some spelunking. Upon some searching with Names, I came across three relevant contexts where the predictive interface ...
18 votes

1 Plot, 2 Scale/Axis

Most compatible solution: The solutions provided are not compatible with plots that contain labels. Here's a solution with possibility to add options: ...
18 votes

Set spell checking language

To change the DefaultNaturalLanguage for the current notebook for example to "German" one can use ...
  • 27.2k
17 votes

How can I route edges manually for a Graph?

I would do it like this: The example graph g: g = Graph[{1 <-> 2, 2 <-> 3, 3 <-> 1}]; Desired locations of ...
  • 26.8k
17 votes

Can we implement a Neural Network interactively?

Update: So after adding the missing features I decided to give your actual problem a go. This is what I have: You'll note a little "Add Layer" ActionMenu ...
  • 45.8k
16 votes

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

Here is the answer given by Rolf Mertig that includes many additional shortcuts. One of them Ctrl+t, evaluates whatever is stored in joker.m file (invoked by Ctrl+Shift+J). There are already two ...
  • 133k
16 votes
Accepted

How to round tick line ends in the plots

Here is another approach which is based on converting the plot to PDF format first. It makes the tick marks accessible as regular Graphics objects. Specifically, ...
  • 95.5k
16 votes

How to make a custom NN layer in Mathematica?

Supporting custom layers is on our to-do list, and should be ready for either 11.2 or 11.3. For interest: what applications do you want custom layers for? And how performant do you need your custom ...
  • 3,469
16 votes
Accepted

Is it possible to change/customize some conversions done by TeXForm?

You could use my TeXUtilities package: ...
  • 14.8k
16 votes

Change colours of Code

Define a new type of symbol (context) called highlight, ...
  • 350
15 votes

1 Plot, 2 Scale/Axis

Here is just a quick update of J.M.'s code to use some newer (read undocumented) functions in the Charting`context. ...
  • 64.1k
15 votes
Accepted

ShowGroupOpener's behavior change in 11.3

TL;DR; To set ShowGroupOpener on a global level, previously done by CurrentValue[$FrontEnd, ShowGroupOpener] = True, now use: <...
  • 133k

Only top scored, non community-wiki answers of a minimum length are eligible