0
$\begingroup$

Using this command I can plot three different curves using ParametricPlot3D

ParametricPlot3D[{{t x, Sin[t x], 0}, {0 , Sin[t x], t x }, {t x ,Sin[t x], t x }}, {t, 0, Pi}, {x, 0, 4}]

However, my output result is coming out crooked. How can I fix it? The command VieWpoint does not work as in Plot3D or DensityPlot, There are some specific commands?

The idea is to obtain something like that. This plot was generated using my code. but it was obtained using paint. The resolution is awful.

enter image description here

$\endgroup$
  • $\begingroup$ What do you mean ViewPoint does not work? Can you give us an example where ViewPoint works in Plot3D, but it does not work in ParametricPlot3D? $\endgroup$ – user6014 Apr 22 at 13:30
  • 1
    $\begingroup$ Perhaps you mean ViewVertical? Also consider reparametrizing to 1 variable so the plotter knows it's actually a 1D curve: ParametricPlot3D[{{s, Sin[s], 0}, {0, Sin[s], s}, {s, Sin[s], s}}, {s, 0, 4 Pi}, Lighting -> "Neutral", ViewVertical -> {0, -1, 0}, ViewPoint -> {1.4, -1.3, -2.8}, ImageSize -> 700] /. Line -> Tube $\endgroup$ – Chip Hurst Apr 22 at 13:31
0
$\begingroup$

To add to Chips answer, sometimes the option AxesEdge is helpful and a few other clues in case someone isn't sure which axis is which:

ParametricPlot3D[{{t x, Sin[t x], 0}, {0, Sin[t x], t x}, {t x, Sin[t x], t x}}, {t, 0, Pi}, {x, 0, 4}, Boxed -> False, AxesLabel -> {x, y, z}, AxesEdge -> {{0, 2}, {0, 3}, {0, 4}}, AxesStyle -> {Red, Green, Blue}]

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.