1
vote
3answers
88 views

Initial Image Size of dynamic plot

I have a dynamic plot. I want to set an initial image size and then be able to resize it by dragging with the mouse. When the image is updated, I want to maintain the "dragged" size. A naive attempt ...
0
votes
1answer
71 views

Graphics // Triangle // Manipulation

I have been Mathematica user for a considerably short while. I have learned some of its functionality using wolfram how-to resources and the documentation. I am having difficulties constructing ...
15
votes
2answers
369 views

Is there a better way to add elements to a Graphics expression repeatedly?

Consider simple example where a set of points is generated and some are displayed. ...
3
votes
0answers
114 views

How to restrict the mouse cursor to stay within a box?

I'm trying to use Mathematica to write small games, and I find that it would help to restrict the player's mouse into the game window (just like other games do). Is there any way to achieve this? ...
7
votes
3answers
176 views

Problem with CurrentValue[“MouseOver”] when graphics are wrapped with Deploy

Please take a look at following toy example: ...
2
votes
1answer
149 views

Render dynamic Graphics objects static

As was discussed in the comments of another question (MathLink Graphical Output (Plots) to File), Graphcis objects produced by commands such as ...
4
votes
2answers
163 views

TrackedSymbols affected by CurrentValue. Another problem with SetDelayed(:=)+OwnVales in Initialization

It is MWE, only a Disk[] that should print "Click" when clicked. Also "date... updating" ...
0
votes
0answers
48 views

Dynamically Update Inset within Graphics with RunScheduledTask

I followed the instructions given below to play with RunScheduledTask within DynamicModule. ScheduledTask with scoped ...
4
votes
1answer
95 views

Why does a heavy background slow LocatorPane from updating, even if only the locators are Dynamic?

I'm having some trouble getting a dynamic plot to operate efficiently, and I think I've tracked down at least part of the problem to some pretty weird behaviour on the part of ...
0
votes
2answers
92 views
5
votes
1answer
173 views

How to make a piece of a pie chart change color upon clicking it?

I am trying to use the EventHandler and have managed to make the text change color upon clicking it, but cannot seem to make each piece of the pie chart change ...
3
votes
1answer
75 views
1
vote
1answer
138 views

Create Slider to start/stop/move Point

I want to be able to start, stop, and move the dynamically moving point simultaneously in both animations. The "PlayPauseButton" in the animations only controls the given animation. Indeed, I want ...
2
votes
1answer
198 views

Why is this expression being held, and how can I evaluate it?

I can't figure out why an expression isn't evaluating, even though there's no Hold* in its FullForm: ...
2
votes
1answer
135 views

Manipulate Locator warping (snap to cursor)

I'm looking to have a Manipulator Locator that moves in discrete steps and requies the user to click on/near the locator position.. consider these two examples: ...
2
votes
1answer
70 views

Strange response with dynamic texture and MousePosition

I built a cubic, then use MousePosition together with GUIScreenShot to take a floating region with fixed size (200*200) on the ...
2
votes
1answer
138 views

Change the behaviour of a LocatorPane

Normally, LocatorPane detects any single click as in the following example: ...
3
votes
2answers
103 views

Restrict MousePosition to specific Graphics object

I have a problem using MousePosition. I want to restrict the value returned by MousePosition to a specific Graphics object. ...
8
votes
4answers
404 views

Graphics can't be live and editable

Is there a way to construct an interface so that the Code and the Graphics remain in sync? For example I would like to be able to drag/drop and move around different shapes in Graphic while seeing ...
6
votes
3answers
192 views

Displaying a locator that moves smoothly and updates some dynamic variables

I want to select a point on a graph and display a function of the coordinates value. Asking here a related question I learned to use Setting. Consider the example, where I display the coordinate ...
2
votes
3answers
254 views

How to Export the current graphic state of a dynamic module?

After manipulating the graphics in a dynamic module like this: Synchronizing manual rotations for multiple Graphics3D outputs? How do I get at the current graphic so that I can Export the image? ...
1
vote
0answers
77 views

Comparing data sets with fade transitions (Code speed-up)

I am using the utility below for data comparison. However, with my real (more complex) charts the processing is quite slow, so setting the Pause time under ...
4
votes
1answer
143 views

Automatically tracing and keeping ViewPoints in a list while manually rotating 3D graphics

I will need to make a video from the manual rotation of a 3D graphics. In order to do this, I will need to record the set of all view points that I made during rotation. There is method that we can ...
4
votes
2answers
272 views

How can I change a Slider's appearance?

I am using Mathematica 9.0 and Windows 7. I want to create a Slider that looks like the following: I tried the following: ...
13
votes
4answers
463 views

Is it possible to select outliers on a graph and determine the index of the outliers?

I have a large data set of experimental data for which I have determined a theoretical fit. However, for some of the experimental data I took, there was systematic error, leading to the data deviating ...
19
votes
2answers
532 views

Dynamically splitting Disks with Mouseover

I've recently stumbled across this site: Koalas to the Max, and the first thought that came to my mind was "I want to recreate this with Mathematica". As a first step I tried to create a ...
2
votes
1answer
256 views

Resetting an animation with a custom button

I have the following code, which accepts a function via an InputField, and then gradually draws that function in a Plot using ...
5
votes
1answer
140 views

How to make MousePosition more reliable

This takes a little patience to reproduce, but I got a screenshot of it in version 9 on Mac OS X 10.7.5: With a small Graphics object, it occasionally happens that ...
3
votes
1answer
107 views

In a DynamicModule, is it possible to use multiple EventHandler declarations? [duplicate]

Possible Duplicate: Wrapping EventHandler by Table I am running Mathematica 7. However, I am new to using Dynamic, ...
2
votes
1answer
429 views

How draw dynamic empty rectangle over a bitmap?

I am trying to make a cookie cutter that will extract a small square from a much larger bitmap with a click of the mouse. The LocatorPane appears to be a useful way ...
6
votes
1answer
290 views

Efficient dynamic drawing

So for example I have this code: ...
17
votes
4answers
330 views

How to create Locator[] hierarchies?

I'd like to 'parent' Locators to one another, ideally organized in any arbitrary tree. The simplest case: If I have two Locators, A and B, then moving A will move both together, but moving B will ...
4
votes
1answer
130 views

Using Dynamic with UpdateInterval and EventHandler Together

I've been having some difficulty with the aforementioned use of these three functions/options and would greatly appreciate some help. I know that they're is probably an easy way of making a disk move ...
10
votes
2answers
251 views

Two-sided slider getting stuck

I'm implementing a two-sided slider to be able to set upper and lower bound in just one slider: The problem is that it can get stuck when both locators are at the far left: And I'm unable to ...
71
votes
2answers
5k views

How to manipulate 2D plots?

When it comes to visual analysis, large datasets or data with intricate internal details often makes plotting in 2D useless, as the outcome is either just a fraction of the full dataset, or no details ...
7
votes
1answer
386 views

Want Interactive PlotRange of Graphics[{}]

I am trying to do: ...
10
votes
2answers
248 views

ShearingTransform and Dynamic

Background: I have a geometric transformation composed of a RotationTransform, ScalingTransform and ...
6
votes
1answer
247 views

LocatorPane and multiple EventHandlers, PassEventsDown option

Consider the following piece of code from Heike as an ( accepted ) answer on LocatorPane, selecting multiple Locators - Basically the code implements dragging polygons on a LocatorPane. ...
18
votes
3answers
629 views

LocatorPane and PlotRange

Consider the following snippet from the documentation on LocatorPane ...
3
votes
1answer
206 views

LocatorPane, Dynamic and deleting locators

Compare the following two code snippets : Version 1 ...
5
votes
1answer
179 views

How to add several Locators to a Graphic with a mouse click?

Background: Suppose I have something like this: ...
8
votes
2answers
584 views

How To interactively create a Polygon in a Graphic?

Background: suppose I start with the following (working) snippet. Manipulate[Graphics[Line[{{0, 0}, p}], PlotRange -> 2], {{p, {1, 1}}, Locator}] Ideally, I ...
8
votes
1answer
350 views

Way to find color at a point in a Graphics?

I need to figure out a way to find out the RGB color value at a certain coordinate in a Graphics object. The Graphics object I am dealing with is continually Dynamically updated, so it is made of ...
18
votes
3answers
552 views

Change the color of a Locator in a Manipulate

How can I change the color of a Locator in a Manipulate? As an example, consider the following. ...
3
votes
1answer
209 views

Forcing a graph not to resize

This code: ...
21
votes
3answers
1k views

Generating graphs interactively (GUI)

I want to create graphs interactively using a GUI. I thought of using a ClickPane[] environment. The code I have (in part borrowed from the Documentation) works ...
16
votes
1answer
606 views

How can I share objects with dynamic content with non-Mathematica users?

Often when I construct some cool Manipulate[] function, I would like to share it with others—non-Mathematica users. Some software, notably Cinderella, ...
7
votes
1answer
230 views

Why is the Locator snapping back to the original coordinates? How can I prevent this?

Take the following code: p = {3, 3}; Graphics[Circle[{5, 5}, 5], Epilog -> Dynamic@Locator[Dynamic[p]], Axes -> True, GridLines -> {{3}, {3}}] ...