Questions tagged [interface]
Questions on building or modifying user-facing functionality for input, or displaying information.
141
questions
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 ...
41
votes
6answers
17k views
Is there a way to hide or toggle the visibility of code?
Many of my notebooks have a similar repeating structure, which is very convenient and reliable for my workflow: a chunk of code defining a Manipulate for exploring ...
39
votes
4answers
2k views
Does Mathematica have a built-in date picker?
Does Mathematica have an interactive date input control that lets the user choose a date by browsing to a calendar view and returning the selected date as a date list? For example, something like the ...
33
votes
2answers
3k views
How can I use the Klingon alphabet symbols?
Note: This functionality is presently missing. See: How to add named characters to Mathematica 10?
Mathematica apparently supports the Klingon alphabet:
...
24
votes
2answers
1k views
How do I efficiently navigate the command line interface to Mathematica?
I would like to perfom such feats as cycling through previous commands, editing commands in place, etc. My expectation would be a readline-like interface, but this appears to not be the default.
22
votes
2answers
2k views
How can I create an advanced grid interface?
Working on a CDF for report creation, I miss having a nice grid interface, where I would have basic operations like being able to sort a columns by clicking on the columns head (ascending and ...
21
votes
1answer
267 views
Custom OpenerView with lazy evaluation
OpenerView can be nested to create a hierarchical structure such as this:
One great aspect is that it remembers which lists are open and which are closed even ...
21
votes
1answer
776 views
Mouse motion heat map - live visualization and analysis
Mouse motion heat map is an great way to study spatial attention distribution, styles of movement, reaction, etc. I am trying to design a code that visualizes such heat map. The requirements: 1) It ...
18
votes
2answers
1k views
Get both output and return code of external program
Run["program"] will run an external program and return the return code.
Import["!program", "String"] will run the program and ...
16
votes
1answer
1k views
C++ interface to large project
We are developing a quite large mathematical software in C++ and would like to have a Mathematica interface. We have our own C++ library and our idea would be, to write a Mathematica wrapper class and ...
14
votes
1answer
4k views
How to pause a running evaluation (and continue it later)
Is it possible to pause an already running evaluation that takes a lot of time? And then continue it later?
I can suspend my computer, but that's not what I want. I would like to use my computer in ...
14
votes
2answers
2k views
Front end typing lag
Under Windows 7 I frequently get serious keyboard lag. My home machine (Windows XP) NEVER lags. I was able to improve things somewhat by running Mathematica as Administrator, but this only went so far....
13
votes
3answers
1k views
Is there a keyboard shortcut for hiding the suggestion bar?
I see that there's a control I can click to hide or "minimize" version 9.0's "suggestion bar". Is there a keyboard shortcut to do this?
13
votes
2answers
11k views
How do you force a decimal output? [duplicate]
I have some very small values such as 2.601519253*10^-8. I'd like to output these values to CSV for another program to work with. I've tried N[value, 50], but Mathematica still insists on producing ...
13
votes
1answer
240 views
How can I get a nice progress indicator for video processing when working in a standalone kernel?
When doing video processing, for example exporting an mp4, in the FE, I get a nice progress indicator with various estimates. How can I get one in the standalone kernel?
13
votes
2answers
796 views
Single-Window-UI not possible? [duplicate]
I'm still very frustrated about the separation of the menubar (File, Edit, Insert, ...) and the open notebooks in different windows. I would prefer to have the menubar directly above each notebook in ...
13
votes
1answer
311 views
Is it possible to create and insert a bivariate colormap into ColorData?
Bivariate colormaps, where the color returned is a function of two values not one, are sometimes used in choropleth maps and are also useful for visualising complex functions where we might want to ...
12
votes
3answers
704 views
Multiple notebooks in Mathematica
While working with multiple files in Mathematica, is there a way to have the names of the files appear along with the minimized window of the file.
I mean that sometimes I forget which file was places ...
12
votes
0answers
351 views
After editing a file Mathematica 10 interprets […]^2 as […(])^2
Bug introduced in 10.0 and persisting through 10.2 or later
This is a very weird bug and I don't really know how to reproduce it, so I'll just copy-paste the whole code
...
11
votes
2answers
255 views
How can I customize my menus without reloading MenuSetup.tr?
I want to edit my menus and know I can do this via MenuSetup.tr but can I do this in real time? Can I do it temporarily?
Moreover can I change whether the changes ...
11
votes
2answers
338 views
Can one affect the appearance of components of a control?
I'd like to control the appearance of the components of a TabView[] control.
Such a control appears constructed of Buttons, <...
11
votes
1answer
1k views
Excel-like UI in Mathematica
This is NOT about importing/exporting Excel data to/from Mathematica.
This is purely a UI question.
The Mathematica notebook interface is very "linear" — I type in an input cell and Mathematica ...
11
votes
0answers
929 views
How to bundle JLink with Java application using apache maven
The context:
I am planning to visualize some results from my MMA code using D3.js. So I wanted to make a simple REST api using the light weight SparkJava framework. Given my fairly nonexistent ...
10
votes
2answers
1k views
Prevent text from wrapping in a notebook
By default in the Notebook interface the text wraps.
Is it possible to prevent this wrapping?
10
votes
2answers
972 views
How can I get Manipulator control elements to appear on one line?
By default Manipulator produced by Manipulate with Appearance -> "Open" option have two ...
10
votes
1answer
149 views
Dialog box that “times out” if the user doesn't respond
I want to ask the user (me) to make a binary choice, but also to give myself only 5 seconds in which to respond. In the absence of a response within 5 seconds, I want my code to close the dialog box ...
10
votes
0answers
194 views
How can we extend the predictive interface so it can suggest new operations? [duplicate]
Introduction
Mathematica 9 has introduced a new predictive interface. For each output, it suggest possible actions the user might want to take.
How can this interface be extended so that it will ...
9
votes
1answer
520 views
Can you make the new “Choose color scheme” helper larger?
Mathematica 10 has a cool new "color data chooser" feature:
My question is: Can you make that window larger? Right now, I can only see 3-4 color schemes at once, even though all 51 gradients would ...
9
votes
2answers
238 views
Why aren't the locators independently enabled/disabled?
I am wondering why the Enabled setting for the first locator (point1) overrides the Enabled setting for the second locator (...
9
votes
2answers
696 views
Connect to USB Serial Converter
(I'm using Windows 7 & Mathematica 10)
I have a sensor with RS232 serial interface. The sensor came with a RS232-to-USB converter and corresponding driver & software for data transportation. ...
9
votes
0answers
562 views
Will (does) Mathematica support the Touch Bar on the Macbook Pro? [closed]
I am considering purchasing a new Macbook Pro sometime this year (2017), perhaps with Touch Bar. Does Wolfram plan to support it? Occurs to me that Mathematica's interactive and predictive notebook-...
9
votes
0answers
330 views
Can one create a custom front-end for Mathematica?
I'd like to create my custom front-end for Mathematica. I know there's a console interface (launched as math), which mostly works great, but it can't really provide ...
8
votes
2answers
180 views
Enter numbers into a an already existing list
How can the user enter specific numbers to a an already existed list using InputField, for example:
...
8
votes
1answer
184 views
Web search browser in Mathematica
How can we build a system to perform web searches (e.g. Google search) in a notebook so that it looks and functions like a normal search interface operating in the browser?
8
votes
2answers
139 views
Is it possible to get the locations and dimensions of all boxes in a StandardForm expression renderation?
I can select all the boxes in a StandardForm rendered expression, like I've selected the left parenthesis in the picture above. Is it possible to get the positions and dimensions of all of these ...
8
votes
1answer
194 views
When calculating, the taskbar icon will not change in Mathematica 12.2
I remember starting in Mathematica11, when calculating the status of the taskbar can indicate the current status
Today I upgraded to Mathematica 12.2, I noticed that the taskbar has only one state ...
8
votes
2answers
324 views
SetterBar behavior
Preamble
Consider a SetterBar:
SetterBar[1, StringRepeat["q", #] & /@ Range@5]
That is with vertical layout:
...
7
votes
3answers
1k views
Automatic Text Adjustment
Continuing the theme of minor interface annoyances, one of the unique features of Mathematica as a text editor is the automatic adjustment of text location as you type. This could be a bit ...
7
votes
4answers
926 views
Can Button[] generate output without using Print[]?
Button[] beguiles me. A simple example follows:
...
7
votes
1answer
532 views
How to customize the package editor interface?
Is there a way to get rid of the unused space on the left of the package editor?
What is it's purpose if I configured Mathematica to not show In and ...
7
votes
1answer
600 views
How to create keypress simulation program?
Main Problem
I'm trying to create a widely applicable keypress simulation program, but I don't know how to use Java so I can only search for Q&As on the site, which is inefficient. So I want to ...
7
votes
1answer
384 views
What do the elements of the Parallel Kernel Status screen mean?
I just managed to get my multiple kernels up and humming on a new multi-core machine, which I am quite happy about.
I am slightly at a loss, though, about the meaning of the different parts of the ...
7
votes
0answers
165 views
Mimicking Console and Output Matlab/Rstudio-Style Environment in Mathematica?
I am trying to crudely approximate the RStudio or Matlab Workspace environment in Mathematica by having a specific notebook function as the "console notebook" where I execute commands and another ...
7
votes
0answers
92 views
Can I get rid of the “learning bar”? [duplicate]
I just purchased a home edition of Mathematica 10, and there seems to be a toolbar that I can't get rid of. It is kind of annoying and distracting. I couldn't find the option in the preference panel. ...
6
votes
2answers
1k views
A command for outputting a list of parameter values in a Manipulate interface
I am looking for a command that will output a list of values that correspond to the current parameter values manually set on a particular Manipulate interface.
For ...
6
votes
4answers
383 views
Object isn't fully displayed in DialogInput
Update: Here's a simper example to reproduce the issue:
DialogInput[Table[InputField[], {50}], WindowSize -> All]
On my 1366×768 screen only no more than 17 <...
6
votes
2answers
403 views
How to make the Mathematica icon flash in the taskbar?
I have a somewhat long computation running in the background. I would like the Mathematica icon on the taskbar to flash once the computation is done. For example, Microsoft Outlook reminders make the ...
6
votes
2answers
302 views
Simple question about startup options
This is probably fairly straightforward, but I wasn't able to find it right away. I'd like for Mathematica to display on startup the latest notebook I was working on, and nothing else. No additional ...
6
votes
1answer
100 views
Time stamps for In[] and Out[]
Once a command is entered and numbered, as in In[n], and an output is produced, as in Out[n], is it possible to find the time at which each one was done?
6
votes
1answer
309 views
Save icon in toolbar in v9
In previous versions of MMA there was a 'Save" icon in the toolbar when you do the "Show Toolbar" from the "Window" menu. This is not present in v9. Anybody know how to get it back?