The tag has no usage guidance.

learn more… | top users | synonyms (1)

3
votes
1answer
47 views

How to center Title/Label in a Bullet Gauge rotated? and how to add a second line?

My target is make a dashboard with VERTICAL bullet gauges (that is not available in Mathematica, only the horizontals), a previous Q & A helped me to obtain vertical gauges (that its good but I ...
1
vote
1answer
120 views

The new introduced EulerMatrix problem

In the present version of Mathematica, there is a new command EulerMatrix[{α, β, γ}])// MatrixForm I read its document and I still don't understand it. For me, ...
1
vote
0answers
68 views

Aguilera-Perez Algorithm of $nD$ rotation matrix [closed]

I want to compute a general $nD$ rotation matrix which corresponds to a rotation by an angle $\theta$ around an $(n−2)$-dimensional subspace. I found the Aguilera-Perez algorithm in their paper: ...
13
votes
1answer
152 views

Rotate Geographic map

I want the map to be rotated by -45 Degree. I want to coast to be horizontal (perfect -45 degree). I already have: ...
7
votes
1answer
224 views

Rigid Rotation of a Point Cloud

If I have a group of points that are aligned along some vector. For example: ...
1
vote
1answer
25 views

Passive Transformation does not return the expectedt result due to precision of expressions

So I wish to perform a passive rotation in N dimensional space. Let me take N=5 for this question. ...
0
votes
2answers
139 views

The Disc and Washer Methods [closed]

How is it possible to demonstrate a visual solid of revolution utilizing the washer method? For example to show the shape formed by rotating the region bounded by $y=(x-2)^4, 8x-y=16$ about $x=10$? ...
0
votes
1answer
78 views

Rotate from 0<=X<infinity [closed]

Find the volume of the solid obtained by rotating the region below the graph of y = e^(−x) about the x-axis for 0 ≤ x < ∞ With that given expression I tried to do it by doing the following code: ...
1
vote
0answers
66 views

2D image rotation about 3D vector and projection

I'm trying to rotate a 2D image such that the viewing angle is not along the normal to the 2D plane, but along some other vector. I tried various things such as: ...
1
vote
1answer
188 views

Changing the Rotate behavior of a 3D graphics

Is it possible to change the way Mathematica rotate its 3D output graphics, when the user uses the mouse ? Here's a MWE to work with : ...
9
votes
1answer
237 views

Figure in animated GIF is oscillating as it rotates

I'm trying to draw a figure as shown below and make it rotate around the vertical axis (z-axis) automatically. This is how I generate the figure and make it rotate: ...
9
votes
2answers
372 views

Rotate an object in image about its centroid

I want to rotate an object in a image about its centroid. here is my code but the result is not as expected. Normally the centroid of the object does not change, except the case when the object is ...
3
votes
2answers
764 views

How do I get the inverse of a homogeneous transformation matrix?

I want to get the inverse of this homogeneous transformation matrix: iab = { {1, 0, 0, 0}, {0, 0, -1, 0}, {0, 1, 0, 3}, {0, 0, 0, 1} } ...
4
votes
2answers
258 views

Rotating an Interpolating Function

I have used the following code to generate eigenfunctions of a PDE: ...
0
votes
1answer
79 views

Rotate the output of Plot3D [closed]

f[x_, y_] := Sin[x^2 + y^2] Exp[-x^2] + Cos[x^2 + y^2] g2 = Plot3D[f[x, y], {x, -2, 2}, {y, -2, 2}, PlotPoints -> 50, Axes -> False, Boxed -> False] ...
5
votes
2answers
125 views

Align ColorBar (axislabel) to be parallel to the y-axis for any view-angle

The following code produces the 3D plot below (which is almost what I want). ...
3
votes
1answer
117 views

Change position and orientation of 3D object

I was trying to understand how 3D objects work in Mathematica, but I run into a problem I am not able to solve by myself. I have the following 3D plot: ...
0
votes
0answers
70 views

How-to carry out a set of operations on a large set of three-dimensional vectors in most efficient manner?

Problem description Essentially, I am trying to carry out a set of operations on a significantly large set of coordinate data. The coordinates in the data set represent a uniformly distributed set of ...
2
votes
1answer
102 views

Is there a corresponding Rotate option like RotationTransform[{u,v},p]

RotationTransform has options RotationTransform[{u,v},p] gives a rotation about the point p that transforms u to the ...
18
votes
2answers
217 views

How to avoid the wiggly text on Ticks and Labels when rotating 3D objects

Motivation I'm trying to do a nice animation of the rotation of a ParametricPlot3D . My problem is that the Ticks numbers and <...
2
votes
2answers
234 views

How do I rotate a curve?

I have a circular segment defined as: ParametricPlot[5 {Sin[ϕ], 1 - Cos[ϕ]}, {ϕ, -0.2, 0.8}, PlotRange -> All] which I have to rotate around point ...
-1
votes
1answer
179 views

Rotate with Euler angles in Graphics3D [closed]

I need to rotate with the Euler angle sequence: Yaw by $\psi$ around $z$ Pitch by $\theta$ around $y'$ Roll by $\phi$ around $x''$ I know of Rotate[] in ...
0
votes
1answer
150 views

4D rotations of 600-cell to make cell centered stereographic projection

I have made a 600-cell wireframe model from Eric Weinsteins' 2/13/14 600-cell notebook (600-cell: a regular polytope, 4D, analogous to the icosahedron, with 600 tetrahedral cells, 120 vertices, 720 ...
1
vote
1answer
54 views

Error while rotating disk [closed]

Trying to rotate a disk, it gets trimmed: Graphics[Rotate[Disk[{0, 0}, {1, 1}, {0 Degree, 180 Degree}], 20 Degree]] I would be pleased if you could tell me ...
2
votes
3answers
205 views

How to rotate a complete graph without image rescaling while rotating

How do I rotate the following image? ...
1
vote
0answers
171 views

Bad rendering of rotated text in 3D graphics in notebooks

Why is my rotated text so badly rendered in 3D graphics in notebooks (the exported pdf are OK). It happens for me with v9 or v10.1.0 and OSX (10.9.5). Notice that the rendering is good in 2D ...
1
vote
3answers
159 views

Absolute VectorPlot scaling

I'm trying to visualize the vector components of a rotation matrix with absolute vector lengths. VectorScale help states that When using an explicit sfun, ...
4
votes
1answer
130 views

Constant orientation of graphics in Graphics3D

I have been facing a challenge for programming for quite a while now, and I think it is now time for me to consult some Mathematica experts: I would like to draw a three-dimensional graphic, e.g. ...
5
votes
2answers
219 views

Problem using Rotation in Show

I would like to have an animation of rotating box and displayed it with other elements (not rotated) using Show. The first step to do that is to have all the elements working properly. So I did the ...
0
votes
0answers
79 views

Trying to rotate a graphic over a field of parallel lines

I have a 10x10 grid of unit squares (picture a partial coordinate grid bounded by (0,0) and (10,10)) given by ...
1
vote
0answers
102 views

Change in direction when a line hits an ellipse? [duplicate]

I'm trying to simulate reflecting light off an elliptical mirror. I currently store the ellipse in the form {center,{radii},rotationAngle} and the ray of light is ...
10
votes
1answer
399 views

Compose many Geometric Transformations for 3D Graphics

I'm struggling to understand what would be a good way to compose several geometrical transformations to create a single TransformationFunction to be applied to a <...
2
votes
3answers
199 views

Rotation of a graph using manipulate

I'd like to look at some group transformation of curves in the plane. As a start, I'd like to try to do use the rotation group. Here's the code I tried to rotate a parabola so that I can watch the ...
13
votes
5answers
1k views

How to combine one or more rotated graphics objects?

I wish to produce an image with more than one composite graphics objects which have been modified using Rotate. I feel this should not be difficult, but haven't yet found a solution. A simple example ...
2
votes
1answer
624 views

Rotation matrix $\to$ quaternion

I found a very good link about quaternions in Mathematica , but I don't know how to create a quaternion from a rotation matrix. Can anyone help me, please? Update I need this: A rotation may be ...
4
votes
2answers
215 views

Is it possible to specify the direction of rotation in VectorAngle function?

If I use the function VectorAngle[{1,0},{1,-1}], is it possible to obtain the angle generated by rotating around the axis counter clock wise? In other words, I would move from the first vector to the ...
2
votes
1answer
146 views

Randomly generated polymer with certain spatial density

For simplicity's sake, let the polymer's composing particle be integer 3-tuples (on 3D Cartesian grid), such that: Polymer-ness -- for all particle there is an directly adjacent neighbor. i.e in ...
0
votes
1answer
1k views

3D plot of a solid of revolution [closed]

I'm trying to rotate the area between the graphs of $y=3$ and $y=x^2$ around $y=1$. I'm not attempting to just find the area as that would just be ...
2
votes
1answer
158 views

how to distinguish clockwise from counterclockwise rotation

I need to distiguish the true rotation of a vector (time dependent, solution of a system of two coupled differential equation) respect a fixed vector. As showed in the follow,neither ...
1
vote
1answer
251 views

need help rotating an object about the z-axis using animation

This should be an easy question for anyone familiar with 3D animations. I have a 2D shape denoted by the equation ((x-1)^2+y^2) ((x+1)^2+y^2)==1 and I ...
0
votes
1answer
302 views

Revolving the area between two functions about an axis

I'm trying to graph the revolution of the area between two functions about an axis, but I'm new to Mathematica, and not sure how to proceed. My area is defined by ...
-2
votes
2answers
624 views

Problem with convert matlab function into mathematica version of euler angle

I've wrote a function that will extract euler angle from matrix according to Matlab's function in AeroSpace toolbox's dcm2angle package file. But not quite right. ...
5
votes
3answers
247 views

Assumptions for RotationMatrix

I'm making C++ program, and in my program I need a rotation matrix around any vector. I wanted to extract RotationMatrix[fi,{x,y,z}] output and put it in my program....
11
votes
4answers
3k views

Axis/Angle from rotation matrix

With r=RotationMatrix[a,{x,y,z}] I can compute a 3D rotation matrix from axis/angle representation. Given a 3D rotation matrix r...