# ChromaticityPlot3D: specify initial rotation or coordinate

**URL:** <https://community.wolfram.com/t/chromaticityplot3d-specify-initial-rotation-or-coordinate/17784>\
**Category:** Questions\
**Tags:** graphics-and-visualization\
**Created:** [March 12, 2021, 5:17am UTC](https://community.wolfram.com/t/chromaticityplot3d-specify-initial-rotation-or-coordinate/17784 "2021-03-12T05:17:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tangentvectors](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/tangentvectors/32/9065_2.png) [@tangentvectors](https://community.wolfram.com/u/tangentvectors)\
**Post date:** [March 12, 2021, 5:17am UTC](https://community.wolfram.com/t/chromaticityplot3d-specify-initial-rotation-or-coordinate/17784/1 "2021-03-12T05:17:06Z")

</div>

For ChromaticityPlot3D, I’d like to specify an initial rotation (or alternately, a different coordinate order). Here is what is generated by default:

```
Print[
  ChromaticityPlot3D[
   "RGB",
   "RGB",
   Appearance -> "VisibleSpectrum",
   PlotLabel -> Column[{"RGB x RGB", "Default rotation"}, Center, 0],
   AspectRatio -> 1,
   ImageSize -> {256, Automatic}
   ]
  ];

```

 ![RGBxRGBdefaultrotation.png](https://global.discourse-cdn.com/wolfram/original/3X/7/d/7df3376abab7919e29dc7061ed66c6c379c96f5a.png)

and what is desired (rotated by hand in this instance):

 ![RGBxRGBdesiredrotation.png](https://global.discourse-cdn.com/wolfram/original/3X/5/2/52b9e3b640ffd657fe3da79ea550fb5728823d6e.png)

I have tried

```
ScalingFunctions -> {None, None, "Reverse"}, -- not permitted

```

and

```
Ticks -> {{0., 5., 10.}, {1., 0., -1., -2., -3.}, {1., 0., -1., -2.}}, -- order ignored

```

Is there a programmatic way to specify the initial view?

---

<div class="post-metadata">

**Author:** ![hansmilton](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/hansmilton/32/8656_2.png) [@hansmilton](https://community.wolfram.com/u/hansmilton)\
**Post date:** [March 12, 2021, 8:17am UTC](https://community.wolfram.com/t/chromaticityplot3d-specify-initial-rotation-or-coordinate/17784/2 "2021-03-12T08:17:34Z")

</div>

You can use the option `ViewPoint`

```
ChromaticityPlot3D[
 	"RGB", "RGB", Appearance -> "VisibleSpectrum",
 	PlotLabel -> Column[{"RGB x RGB", "Rotated 180\[Degree] around vertical"}, Center, 0],
 	AspectRatio -> 1, ImageSize -> {256, Automatic},
 	ViewPoint -> {1, -1.5, 2}
 ]

```

 ![ChromaticityPlot3D.png](https://global.discourse-cdn.com/wolfram/original/2X/b/bb8a15981edafa1ac336884c52f6be6e1707a29e.png)

For `ChromaticityPlot3D` the default setting is {1, 1.5, -2}, with _x_ (Red) as vertical.
