The tag has no usage guidance.

learn more… | top users | synonyms (1)

1
vote
3answers
70 views

Correcting problems with the controls in a Manipulate

I am developing a toy application to teach me how to generate a more complex CDF app. The current toy app is taking integral. ...
3
votes
2answers
219 views

Can I save a manually cropped Image in Mathematica 10 without hard cropping?

In Mathematica 7 I was accustomed to a certain workflow: Paste an image into a Notebook Select Actual Size from the context menu, if necessary Ctrl-drag the control points on the sides of the frame ...
1
vote
1answer
45 views

LocatorPane in Manipulate blocks interaction with other graphics

I have a Manipulate that uses LocatorPane on a ContourPlot to move some a ...
11
votes
2answers
3k views

How to place cdf file in Microsoft Word, Powerpoint or in interactive PDF file?

I would like to create a presentation for my lecture in which I would use Mathematica CDF files. Let's say I want to have such interactive content: ...
0
votes
1answer
85 views

High-order functions and interactive objects

I have been developing Mathematica code to interpret LaTeX code, extract formulas and apply various Mathematica operations (e.g. Simplify, ...
3
votes
0answers
46 views

Can I extract or deduce the effective input form to duplicate the results from an interactive toolbar?

The interactive toolbars that are available in 10.0+ are very nice for getting images to look the way I want; but the black box functionality is very un-Mathematica-like, and doesn't help me if I want ...
26
votes
4answers
1k 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 ...
1
vote
0answers
54 views

Exporting Tooltip data to HTML [closed]

It would be very useful if one could export interactive Tooltip graphics to an HTML file like: ...
9
votes
0answers
78 views

Autocomplete is too greedy with the mouse

I have a frustrating user experience problem in Linux; a common occurrence when using the notebook might go like: I have, for some reason, used the mouse (e.g. to place the cursor) and then move the ...
1
vote
1answer
99 views

Multiple interactive adjusters for multiple parameters including locator

I want to make a program that allows to vary multiple parameters via multiple adjusters. It may well be that this question has been answered already somewhere. However, I am pretty new to programming ...
12
votes
2answers
457 views

Creating “detached” plots

Is it possible to create detached interactive plots in Mathematica like those in Matlab, Jupyter (IPython), rather than inline ones? This is interactive GIF from Rodeo IDE for Python as an example, ...
0
votes
1answer
240 views

Mathematica to swf / fla

Is it possible to export an interactive (in terms of mouse clicks) Mathematica manipulation / animation as an interactive swf file, including converted actionscript? I realise this is probably not ...
4
votes
2answers
149 views

Interactive ListPlot by mouse clicking

Say I have a list of 2-tuples that is visualized by ListPlot. Each 2-tuple is also associated with another graph. Now what I want to realize is to display the ...
5
votes
1answer
86 views

How to make a cell highlight on mouse down?

When a cell has WholeCellGroupOpener set to True, it becomes a clickable button that toggles its cell group open and closed. How can I make the cell change color ...
10
votes
2answers
391 views

Restrict Sensitivity of Locators in LocatorPane

We can restrict the movement of locators in a LocatorPane as follows: In the following example, the first locator's movement is confined to the x-axis and the ...
5
votes
2answers
102 views

Locator-based abscissa ranges widget

I'm trying to implement a widget that will enable users to graphically determine certain abscissa ranges in a 2D plot. I've started by coding a prototype, whose output looks like this: The idea ...
0
votes
0answers
32 views

Conducting Exams and graded Labs in Mathematica [duplicate]

I came across your comment regarding making exams in Mathematica. I presume that you mean self-graded exams. I'm teaching a second semester Discrete Math course in the Fall and we are going to use ...
3
votes
1answer
142 views

Can I make a simple game in Mathematica?

Here is the game outline: $\hspace{2.5cm}$ There is one player. The player ($\mathscr{L}$) moves from node to node limited by the directed arrows. As the player moves, $\mathscr{G}_{\Huge\cdot}$ ...
83
votes
5answers
65k views

Get a “step-by-step” evaluation in Mathematica

Is it possible in Mathematica to get a step-by-step evaluation of some functions; that's to say, outputting not only the result but all the stages that have led to it? If so, how does one do it? ...
4
votes
1answer
74 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 ...
0
votes
1answer
41 views

Puzzled with InputField

What is wrong with the following code? ...
1
vote
1answer
40 views

Can one put event listeners to parts of StandardForm expression?

I have a StandardForm expression Is it possible to add an event listener to the variables, parentheses, and plus signs so that when I click them their color changes for example. Maybe it would be ...
3
votes
1answer
65 views

Interactive graphics without creating a new cell

A simple graphics command creates a red circle and a blue square: Graphics[{Red, Disk[{0, 0}, 0.5], Blue, Rectangle[]}] I can "close this up" by double ...
2
votes
1answer
110 views

Interactive level sets of polynomials

I'm new to Mathematica and I need some help with the following problem. I would like given some positive integer n, to have mathematica plot the level sets of a (say monic) polynomial of degree n, ...
0
votes
2answers
78 views

Returning value if a point is in a region?

I'm writing a function so that if the user clicks on a certain region, a value is returned. The function takes in a condition list like the one below and a point. ...
2
votes
1answer
45 views

Dialog-type notebook

I have the following dialog to calculate the product of a and b: ...
2
votes
3answers
345 views

Creating an image grid that displays a full-size image when a thumbnail in the grid is clicked on

I am working on some teaching resources and pulled a whole bunch of images off the internet to illustrate the idea of "angle". I can get Mathematica to import them and display them in a nice ...
4
votes
1answer
264 views

VertexRenderingFunction (or EdgeRenderingFunction) with movable nodes?

In GraphPlot, I'd like to use VertexRenderingFunction (VRF) and have the resulting object behave the same way under dragging verticies as it does when I do not use VRF. The same issue occurs for ...
4
votes
1answer
256 views

How to change the aspect ratio with drawing tool?

I'm drawing an image in editing an slide show with the drawing tools. But the aspect ratio of the created drawing seems fixed and not changeable with mouse dragging the border and corner as in other ...
2
votes
0answers
234 views

Embed 3D objects from Mathematica, in a pdf

Acrobat Reader 9+ supports interactive manipulation of 3D objects. See this file for example - another widely used example are PRC objects which may be produced by Asymptote. Exporting animations ...
0
votes
1answer
45 views

Interactively Manipulate SparseArrays or Lists

I'd love to use SparseArrayor List to group a set of parameters together in a function. ...
13
votes
1answer
457 views

How to create interrelated sliders?

Say I want a slider that controls the value of $x$ and another slider that controls the value of $2x$, how would I go about it?
0
votes
0answers
49 views

Get value for a variable from user inside a module [duplicate]

I am writing a module. When I run the module, I want it to ask for a variable, like I can in other programing languages such as C++ or Python. For example, in C++: ...
3
votes
2answers
145 views

How do we make a negative integer out of a string of a negative number and vice-versa?

Negative numbers are not taken into consideration by mathematica's built-in functions. FromDigits["-2"] Gives me this message: ...
1
vote
0answers
113 views

Slider with non-linear behavior [duplicate]

I am trying to develop a small tool and I am stuck on a very simple problem. This how I want it to look: I have ...
0
votes
1answer
110 views

Interactive plot with checklist

I'd need to write an interactive plot. I have some function I defined and some point lists I get from external data file. I'd need to see those data along with my functions, and I know how to do that. ...
2
votes
1answer
342 views

How can I create an interactive application that accepts data and and plots it?

I have some code in Mathematica which shows a colored plot, where the coloring depends on data values. I would like to make this into an interactive application that accepts two inputs: data, a list ...
3
votes
1answer
470 views

Combine a dynamic module with a manipulation

I would like to combine a dynamic module with a manipulation, whilst maintaining the functionality of both. I have tried things like Show and ...
10
votes
2answers
503 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 ...
5
votes
2answers
302 views

Interactive grid

I would like to create an interactive grid, whereby one number from a grid is selected by the cursor ("3" in the example below), and all other numbers in the grid are highlighted that are related to ...
4
votes
1answer
169 views

Confusing font information from CurrentValue

I'm trying to programmatically get the width of a character in Mathematica's default fixed-width font, Courier. I believe CurrentValue holds the answer but I'm ...
5
votes
1answer
130 views

How can I execute a sequence of statements interactively?

I'm fairly new to Mathematica. Suppose I have the following function: f[x_Integer] := Module[{y, z, r}, y = 5; z = 10; r = x + y + z; r ]; and I ...
2
votes
0answers
135 views

FrontEndTokens, MathLink, and Serializer.exe

I have been using some basic MathLink programming in my work and wanted to create some more sophisticated MathLink programs. I came across the book "MathLink: Network Programming with Mathematica", ...
2
votes
1answer
107 views

Interaction of InputField with Row (but not Column, Grid or Panel)

In Mathematica 9, there's an interaction between InputField and Row. The following fragment (without or without ...
2
votes
1answer
131 views

Tooltips with Popupmenus, can't supress the popups prior to clicking

I'm trying to add popupwindows to tooltips for points on an ErrorListPLot but all the popupwindows appear on screen immediately when I run the command below that plots the graph. After closing all ...
5
votes
1answer
244 views

Using the keyboard to interactively and dynamically specify coordinates in a grid (a la Battleship board game)

In Mathematica, it is possible to create a Table or Grid of \[Placeholder] boxes. For ...
0
votes
1answer
105 views

Help with interactive plot? [closed]

The following interactive plot causes Mathematica 9 to become unresponsive. Could someone please tell me what is wrong with it? ...
3
votes
2answers
187 views

Interactively Manipulate Code

Bear with me, I'm a noob; I simply want to create a radio button bar that selects whether I want to add or subtract two numbers: ...
5
votes
1answer
169 views

Using the mouse coordinates to index a matrix

I would like to "write" on to a matrix using the mouse. That is, I would like to use the integer value of Locator coordinates (p) to index a matrix. Then, if the mouse button is down, write a 1 in ...
17
votes
3answers
2k views

Extracting the coordinate of a particular point of interest from a ListPlot

Is there a way to obtain the coordinate of a point of interest in a ListPlot? As an example, I have a list containing many sets of 2D coordinates and the plot ...