2

Sometimes I would want to Plot simple functions on unconventional projection, but without specifying all the styling myself. If one looks at InputForm of a normal plot, all this would appear to be deep magic. Although on more complex scenarios I would want more than an affine projection, it is also a good starting point. Unfortunately even that with sensible grid lines and ticks labelling seems to be painful with the kludge I have found (yes, arguments are pretty arbitrary in my example):

ParametricPlot3D[{t, TriangleWave[t/4], 0}, {t, 0, 10}, 
 FaceGrids -> {{0, 0, 1}}, Ticks -> {Automatic, Automatic, None},
 ViewMatrix ->
  {TransformationMatrix[
    RescalingTransform[{{-8, 12}, {-2, 12}, {-1, 1}}]],
   {{1, -1, 0, 0}, {0, 1, 0, 0}, {0, 0, 1, 0}, {0, 0, 0, 1}}},
 PlotRegion -> {{0, 1}, {0, 8/2}}]

enter image description here

Are there any more sensible approaches to this without generating all the details explicitly?

kirma
  • 19,056
  • 1
  • 51
  • 93

0 Answers0