The tag has no wiki summary.

learn more… | top users | synonyms

57
votes
4answers
4k views

How to peel the labels from marmalade jars using Mathematica?

How can I detect and peel the label from the jar below (POV, cylinder radius, jar contents are all unknown) to get something like this, which is the original label before it was stuck on the jar? ...
17
votes
2answers
407 views

Movable text on a curve

Having an arbitrary curve defined as InterpolatingFunction, what is the best way to place a text on this curve? The text generally has two rows, for example: ...
13
votes
4answers
815 views

How to draw a great circle on a sphere?

I apologize for the text description, but new users are not allowed to post images. I want to draw a circle that cuts through the center of a sphere and has an inclination of 15 degrees with the ...
10
votes
2answers
201 views

How to get the real PlotRange of Graphics with GeometricTransformations in it?

For demonstrating the problem, have a look at the following example, and try adjusting the rotation angle a and/or the Locator ...
9
votes
3answers
182 views

Rotate a grid, made up of lines, so that it aligns with the xy axes

While working on an answer for another problem I hit upon one of my own. I took the image given in that question and cleaned it up so that I could detect the grid lines: ...
6
votes
1answer
116 views

Digital Elevation Maps (DEM) are Warped yet ReliefPlot renders as a rectangle - how do i join?

I downloaded several USGS Digital Elevation Maps (DEM files) corresponding to 12 adjacent areas. Each file Imports[] into Mathematica and I can render the individual ...
3
votes
4answers
221 views

How to transform this matrix & swap its columns in a simple way?

I would like to transform matrix $\mathbf A = \begin{pmatrix} a&b&i&j\\ c&d&k&l \\ e&f&m&n \\ g&h&o&p \end{pmatrix}$ into matrix $\mathbf B = ...
3
votes
3answers
205 views

How to transform and swap columns of this matrix in a simple way? Version 2

So, earlier today I asked the question How to transform this matrix & swap its columns in a simple way? and was given useful and elaborated answers. Now, I'm still not used to the "Array", ...
3
votes
0answers
142 views

Unexpected behavior of GeometricTransformation

I have the following mapping on the complex plane: $$ z \mapsto \tau \mu z-1, $$ where $\mu$ is complex, $\tau$ is real number. I want to draw the image of left unit semidisk and play with $\tau$. ...
2
votes
3answers
131 views

Using ImageTransformation[] with a lookup table

I need to transform images by ImageTransformation in a time critical application. Therefore I precalculate a lookup table lut of ...
1
vote
1answer
124 views

How do I compose two functions (matrices) in Mathematica? [closed]

I'm new to Mathematica. I've been reading the 'Documentation Center' but can't find a clue about composing two functions which in my case are matrices. Here's the setup. let ...
1
vote
1answer
96 views

Why doesn't Normal[] work?

I have a polygon on which I'm applying a GeometricTransform and I want to get the coordinates of the transformed polygon. ...
0
votes
1answer
40 views

Reflection transform of function [duplicate]

I am trying to find the reflection function. Here is my function and its graph. ...