Questions tagged [interface]

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

Filter by
Sorted by
Tagged with
2 votes
1 answer
42 views

Getting the current status of a FlipView object

...
Syed's user avatar
  • 41.4k
1 vote
0 answers
81 views

How to resolve the following problem with DialogInput/PopupMenu?

Consider the following DialogInput: ...
John Taylor's user avatar
  • 4,632
1 vote
1 answer
58 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,897
0 votes
1 answer
52 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,733
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
132 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,470
1 vote
2 answers
103 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
318 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
30 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
182 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,137
1 vote
1 answer
138 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
  • 203
7 votes
3 answers
287 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
44 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
94 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,137
2 votes
0 answers
70 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,137
4 votes
1 answer
149 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
52 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
94 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
233 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
  • 6,744
1 vote
1 answer
46 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
128 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
  • 270
0 votes
0 answers
47 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
  • 71
0 votes
1 answer
49 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,543
2 votes
2 answers
127 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,397
1 vote
0 answers
29 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,397
9 votes
0 answers
797 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
36 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
  • 3,968
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
2 votes
1 answer
145 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
39 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,113
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,064
5 votes
1 answer
179 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,267
3 votes
1 answer
101 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
200 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
341 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,359
2 votes
1 answer
234 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
  • 3,968
0 votes
0 answers
45 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
131 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
256 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
169 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,415
7 votes
0 answers
485 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
54 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,439
3 votes
1 answer
286 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,524
4 votes
1 answer
597 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,239
5 votes
1 answer
930 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,439
2 votes
1 answer
84 views

Receiving visual notifications even when Mathematica is minimized?

How to receive visual notifications on screen during long computation even when Mathematica is minimized? Question is similar to this: How to make the Mathematica icon flash in the taskbar?. ...
alef's user avatar
  • 21
0 votes
1 answer
72 views

Integrating problem using interface

lately I tried to develop an interface that will plot the furier sum of a given function up to a given number of terms. The code is here: ...
DeadlosZ's user avatar
8 votes
1 answer
234 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?
b3m2a1's user avatar
  • 46.6k