Skip to main content

Questions tagged [interface]

Questions on building or modifying user-facing functionality for input, or displaying information.

Filter by
Sorted by
Tagged with
1 vote
0 answers
49 views

Huge spaces between symbols in cells like "Input" and "DisplayFormula" in Mathematica 14

With the same font "Source Code Pro", the spacing in cells of type "Input" and "Output" have different sizes. How can I reduce the space between characters to an ...
32seph's user avatar
  • 35
4 votes
1 answer
132 views

Why does Mathematica's interface freeze when scrolling to the evaluating cell?

I have some heavy computations in Mathematica that use parallelization. The CPU consumption is ~80-90%. I use ProgressIndicator to trace the progress of the ...
John Taylor's user avatar
  • 5,827
2 votes
1 answer
51 views

Bind a key to show autocompletion

I've searched for a feature which is usually available in most IDEs where you are able to de-activate autocomplete and by pressing a key, usually Tab, the autocompletion pops up and you can either ...
José Ferreira's user avatar
2 votes
1 answer
44 views

Getting the current status of a FlipView object

...
Syed's user avatar
  • 55.5k
1 vote
0 answers
88 views

How to resolve the following problem with DialogInput/PopupMenu?

Consider the following DialogInput: ...
John Taylor's user avatar
  • 5,827
1 vote
1 answer
64 views

Control metadata of CopyToClipboard

Question The system clipboard can contain image data and text data (and a plethora of other types). Mathematica copies different expressions as different types of data; copy ...
Adam's user avatar
  • 3,956
0 votes
1 answer
82 views

Using Manipulate for initial guess to nonlinear fitt, feed the result back to Manipulate (and repeat) for a general model with indexed parameters

I have been trying to put toghether a visual method to help fit experimental data with peaks. I have stumbled upon this answer which is very similar to where I got. But it is not sufficiently general ...
atapaka's user avatar
  • 3,960
1 vote
0 answers
26 views

How to input coordinates on a FormObject using ClickPane or LocatorPane

I want to make a form in which one of the fields is filled with a list of two numbers (a 2D coordinate) via a ClickPane or LocatorPane. Is it possible? I cannot figure it out! It seems from the ...
Gareth Russell's user avatar
3 votes
1 answer
135 views

Logging intermediate results to notebook

I would like to add the following logging functionality to a package I'm writing: For functions whose (intermediate) results could be important there should be an option to let them write these ...
Gert's user avatar
  • 1,530
1 vote
2 answers
116 views

A bug in InputField of type Expression?

I have a problem with a simple InputField of type Expression: ...
Alexey Popkov's user avatar
13 votes
2 answers
332 views

How is the zoom tooltip in the "Coordinates Tool" implemented?

I notice that the built-in "Coordinates Tool" has a very efficient zoom tooltip displaying an enlarged portion of the image along with coordinates and row/column indices: How to get the ...
Alexey Popkov's user avatar
2 votes
0 answers
39 views

Why Dataset does not accept to add two more lines in an element?

Why Dataset does not accept to add two more lines in the "quantifying" element (and returns an Association instead of making the 2 more lines)? ...
Gianni Mocellin's user avatar
1 vote
0 answers
54 views

Is there a possibility to make the grey word "Information" not appear when the form "form" is called by form[]?

Is there a possibility to make the grey word "Information" not appear when the form "form" is called by form[]? ...
Gianni Mocellin's user avatar
1 vote
0 answers
31 views

How to have a form running when called from an ActionMenu in a Palette?

I create a FormFunction "form": ...
Gianni Mocellin's user avatar
3 votes
2 answers
186 views

Making a list of variables

Consider the following code, which give a Manipulate object that returns the "total" of a certain variable var 1 ...
sam wolfe's user avatar
  • 4,863
1 vote
1 answer
167 views

Running an executable in the shell from Mathematica

I have a txt file called exec.txt, that I have made executable using chmod. Running it from the shell using ./exec.txt works correctly. However, I need to run it from my Mathematica nb file. Following ...
abstract's user avatar
  • 245
7 votes
3 answers
315 views

Can I stop the python interpreter appearing?

I am using version 12.1.1.0 on OS X 10.13. Every so often, a Python interpreter cell appears: I think I am probably summoning it by inadvertently pressing ">" (due to clumsy typing). Or ...
user108903's user avatar
0 votes
0 answers
46 views

A standalone notebook that just shows a Manipulate and hides all other code?

I have a complex notebook with one cell that contains a bunch of initial definitions, several modules, and finally a Manipulate object. For a simple example take ...
André's user avatar
  • 197
1 vote
1 answer
114 views

Deleting all outputs on Notebook close

Is is possible to set up a Mathematica notebook so that all outputs are automatically deleted when the notebook is closed? I was trying to look for some function like ...
sam wolfe's user avatar
  • 4,863
2 votes
0 answers
75 views

Creating an online interactive interface

I want to cloud deploy a dynamic interface on which I have multiple types of widgets for different parameters and where, upon the click of a button, I send a list of arguments to a certain function, ...
sam wolfe's user avatar
  • 4,863
4 votes
1 answer
165 views

Autocomplete popup slow (>= v12.2)

On my Windows systems, the autocomplete popup takes extremely long to appear (1-2 secs). This makes typing in Mathematica very uncomfortable for me, as the interface effectively freezes for these 1-2 ...
tauAlphaC's user avatar
1 vote
0 answers
61 views

Resizing a notebook with a command

I've got some notebooks which my friend wrote on a different computer, presumably with a much higher resolution screen to mine. When I try to open them on my computer, the window size of the notebook ...
Jojo's user avatar
  • 1,278
2 votes
2 answers
95 views

How can generation of interactive color bar be speeded up

I have been experimenting with interactive color bars to supplement graphical information presented as a colored ribbon. Here is an example: First, generate some colours as red/green/blue triples: <...
robertofbaycot's user avatar
8 votes
1 answer
238 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 ...
matrix42's user avatar
  • 7,138
1 vote
1 answer
47 views

How to obtain desirable performance of dynamic variable?

I need to create the code that generates a sample based on an adjustable parameter and, later, interactively calculates statistics or builds a plot for the generated sample. Let's insert a slider <...
Konstantin's user avatar
2 votes
1 answer
129 views

Making a GUI similar to Documentation Center

This is an offshoot of how to create a menu as the Documentation Center?... My aim is to build a menu that functions kind of like the documentation center...a grid of rectangles, each with a dropdown ...
kits's user avatar
  • 280
0 votes
0 answers
54 views

Saving code as a blackbox for wolfram player

I am trying to save my program as a blackbox so those who I am deploying it to are able to use it, but there is no reason for them to have the huge chunk of code beforehand to have to scroll through. ...
Daniel's user avatar
  • 115
0 votes
1 answer
50 views

How can I create a form-like interface in Mathematica, suitable for Mathematica Player?

I want someting like: f(x)=(imput field) [Calculate] (button) Result=(output field)
Anixx's user avatar
  • 3,585
2 votes
2 answers
129 views

Why aren't my grid elements aligning correctly in a docked cells toolbar?

The following is just the initial start of my very first docked cells toolbar I am still working on. It can easily be loaded to view it live. Code is also provided to conveniently remove it afterwards....
Jules Manson's user avatar
  • 2,467
1 vote
0 answers
30 views

Is there a way to count quantity of evaluations (this preferred) or edits in a cell since last notebook save?

Abstract The goal is to use this to create an autoSave[evals_:5]:=Module[{}, save after set number of evaluations or edits have occured...]. I asked a similar ...
Jules Manson's user avatar
  • 2,467
9 votes
0 answers
828 views

Mathematica 12.1 start-up time in Linux extremely slow

I installed Mathematica 12.1 on my Linux machine and the start-up time is extremely slow. I see the Spikey logo and messages like: Initializing Kernel connections ...
Santiago's user avatar
  • 1,201
2 votes
0 answers
37 views

Possible to add a `Find "string"' to the Toolbar?

It would be nice to have a persistent "Find" feature on the tool bar. I find the FindAndReplaceDialog to be clumsy on MacOs. I could do this with a DockedCell, but then I would need to do it for ...
Craig Carter's user avatar
  • 4,510
14 votes
1 answer
262 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?
Itai Seggev's user avatar
  • 14.2k
2 votes
1 answer
155 views

Table of Dynamic Disks

I'm trying to create a dynamic interface to generate disks depending on 3 parameters : x-coordinate, y-coordinate and radius. The disks are generated as soon as the "export" button is pressed. I'm ...
Jocelyn Minini's user avatar
0 votes
0 answers
41 views

Is there a way to place the Tabs to left of the figure in TabView?

I have a very large LayeredGraphPlot that is oriented left to right and I have TabView that highlight the paths. But the problem is I have to press Tabs on the top ...
user13892's user avatar
  • 9,443
4 votes
1 answer
93 views

Controlling Manipulate in cloud deployment

Suppose I want to create a web app which duplicates (for simplicity), something like Manipulate[Plot[Sin[n x], {x, 0, Pi}], {n, 3, 10, 1}] ...
Igor Rivin's user avatar
  • 5,094
5 votes
1 answer
182 views

InputField, PasteButton, and Check not playing nicely with each other

Context Added to End In a previous question, I was looking for a way for an InputField to maintain the input structure of expressions so as to allow the user's ...
Kevin Ausman's user avatar
  • 2,277
3 votes
1 answer
103 views

Input list within a Manipulate (Setter)

I would like to make an interactive "to do" list with a SetterBar where I can click on the Chapter, and get a list of tasks I can add to or delete within the ...
David G. Stork's user avatar
3 votes
1 answer
203 views

Is there a way to omit the "In[1]:=" prompt?

I'm using a command-line interface of Mathematica, or /usr/bin/wolfram. In wrapping this cui program with GNU Readline library, I would like to omit the ...
ynn's user avatar
  • 243
5 votes
2 answers
374 views

How to execute this code on startup?

Every time I open a new notebook I have to manually evaluate this code in that notebook. In order order to stop my cursor moving to a new cell. How would I automate this? I would love this ...
Conor's user avatar
  • 7,449
2 votes
1 answer
236 views

Mac Touch Bar and Hidden Characters

I am reposting this question (Translate key events to nothing?) hoping to resolve an issue that is causing me no end of, bug chasing. Arggh, Help. On a Mac with a touchbar, if my finger slips and ...
Craig Carter's user avatar
  • 4,510
0 votes
0 answers
46 views

Attempting to speed up processing time by cutting down on dynamic functions in an interactive interface

Greetings Mathematica fans, I am currently trying to build an interactive interface to sift through a large amount of data visually. The data consists of many sets containing 70-80 points, which have ...
william tepe's user avatar
6 votes
1 answer
138 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?
Maesumi's user avatar
  • 775
1 vote
1 answer
261 views

Linking multipage forms together

I am trying to develop a web form wherein the first page asks users how many cities they would like to compare, and the second page dynamically creates that many input boxes. Once the user inputs the ...
Reedinationer's user avatar
10 votes
1 answer
175 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 ...
Simon's user avatar
  • 1,435
7 votes
0 answers
507 views

How can I create a REPL for Mathematica in Sublime Text

I would like to be able to interact with Mathematica command line interface from within Sublime Text. Sublime Text has a package called Sublime REPL that provides an interface for different ...
Nima's user avatar
  • 71
2 votes
1 answer
61 views

How to use tab control for Manipulate when the number of options exceeds 5?

I have 2 Manipulate as below, Manipulate[plot[i], {i, Range[5]}] Manipulate[plot[i], {i, Range[6]}] As you can see, the 1st ...
H42's user avatar
  • 3,479
3 votes
1 answer
298 views

Robust line numbers in Mathematica notebook

Is there any way to reference a particular output in Mathematica notebook robustly? The usual way we refer a particular output is by invoking the command %n where ...
Subho's user avatar
  • 1,534
4 votes
1 answer
609 views

Need help in creating a GUI

This time, I write to the community to ask for your help in creating the following interface. See next image I will try to explain what that interface consists of, start with password, there the user ...
bullitohappy's user avatar
  • 1,289
5 votes
1 answer
950 views

How can I create a "Run all code" button in a notebook?

How can I create the "Run all code" button (at the top right corner) in Mathematica notebook? The current method I have is to save the .nb file into .wls (i.e. Wolfram Language Script), and then open ...
H42's user avatar
  • 3,479