Message Boards Message Boards

0
|
6434 Views
|
7 Replies
|
1 Total Likes
View groups...
Share
Share this post:
GROUPS:

Relocate/Shift Function Origin of Parametric Plot {t,u} on to Cartesian Plo

Posted 10 years ago

Hello,

I have a Parametric Plot that is centered at {0,0,0} (Example shown below). How can I relocate the origin (e.g. {3,0,0})?

Any help appreciated!

Greg

Attachments:
POSTED BY: Greg
7 Replies
Posted 10 years ago

thanks

POSTED BY: Greg

This will translate the the z by 3

 g = ParametricPlot3D[{Cos[t] Cos[u], Sin[t] Cos[u], Sin[u]}, {t, 0, 2 Pi}, {u, -Pi/2, Pi/2}];
    Graphics3D[Translate[First@g, {0, 0, 3}], Axes -> True]

enter image description here

POSTED BY: Nasser M. Abbasi

delete

POSTED BY: Nasser M. Abbasi
Posted 10 years ago
POSTED BY: Greg

I think that only alters the display of the axis labels

That is what I understood you wanted. It looks like you want coordinates transformation then. But you are starting with a parametric equation, so this can be tricky. If I get an inspiration will try later.

POSTED BY: Nasser M. Abbasi
Posted 10 years ago
POSTED BY: Greg

try AxesOrigin -> {3, 0, 0}

POSTED BY: Nasser M. Abbasi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract