Questions tagged [interface]
Questions on building or modifying user-facing functionality for input, or displaying information.
154
questions
2
votes
0
answers
34
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
49
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
28
views
How to have a form running when called from an ActionMenu in a Palette?
I create a FormFunction "form":
...
3
votes
2
answers
141
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
72
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
2
answers
147
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
36
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
57
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
58
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, ...
1
vote
0
answers
74
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
43
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
85
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
215
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
42
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
107
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
36
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
44
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
118
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
28
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 ...
7
votes
1
answer
586
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
35
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 ...
13
votes
1
answer
254
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
115
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
35
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
85
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
168
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
79
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
165
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
249
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
229
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
111
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
220
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
160
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 ...
6
votes
0
answers
400
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
46
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
217
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
524
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
793
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
74
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
205
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?
0
votes
3
answers
217
views
How to hide "input" while using ButtonBar?
I used a ButtonBar. When I click a button (in Output) it unhide all my hidden code (Input). How to overcome this issue?
UPD: requested example
Input:
...
3
votes
1
answer
220
views
Better alternatives for GUIkit or dialogboxes?
I'm trying to create a custom interface, where I input equivalent electrical resistances which were previously measured, so I can solve a system of 8 non linear equations using FindRoot to get the ...
2
votes
1
answer
127
views
Checkboxbar with maximum choices limitation [duplicate]
I am a novice to interactive interface with Dynamic and other stuff. So don't blame on me if I ask idiot questions.
What I want is to set a checkbox and set a limitation for the maximal number that ...
1
vote
1
answer
71
views
Annoying problem with hotkeys
How to prevent Mathematica from using its internal hotkey grammar while pressing the standard combinations like ctrl+c, ctrl+v etc.? In my case, after some period of using of Mathematica, instead of ...
8
votes
2
answers
377
views
SetterBar behavior
Preamble
Consider a SetterBar:
SetterBar[1, StringRepeat["q", #] & /@ Range@5]
That is with vertical layout:
...
3
votes
2
answers
127
views
How to reduce spacing between vertical sliders?
Consider the following code:
...
6
votes
0
answers
120
views
Deploy an interactive dynamic interface with some complex code behind
This question might have been discussed in bits and pieces already, but I couldn't find a coherent conversation about what are the best practices and strategies for deploying a moderately complex ...
1
vote
1
answer
308
views
Mathematica notebook interface and touch screens
This questions has been ask before over two years ago. There are yet no answers. It is a simple question, does the Mathematica notebook interface support touch? If it does how do you use settings to ...