Questions tagged [interface]
Questions on building or modifying user-facing functionality for input, or displaying information.
163
questions
2
votes
1
answer
42
views
1
vote
0
answers
81
views
How to resolve the following problem with DialogInput/PopupMenu?
Consider the following DialogInput:
...
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 ...
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 ...
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 ...
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 ...
1
vote
2
answers
103
views
A bug in InputField of type Expression?
I have a problem with a simple InputField of type Expression:
...
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 ...
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)?
...
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[]?
...
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":
...
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
...
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 ...
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 ...
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
...
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 ...
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, ...
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 ...
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 ...
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:
<...
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 ...
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
<...
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 ...
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.
...
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)
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....
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 ...
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
...
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 ...
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?
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 ...
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 ...
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}]
...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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?
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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?.
...
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:
...
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?