Skip to main content
added 261 characters in body
Source Link
Szabolcs
  • 236.5k
  • 31
  • 641
  • 1.3k

The option you are looking for is ColorFunction. When you create a colorcolour function manually using the GUI, you can press the Copy Function button at the bottom. Paste the function into the notebook, and store it in a variable named cfun. Then use Image3D[yourDataOrYourImage, ColorFunction -> cfun].

Be sure to look up the ColorFunction option within the Image3D documentation page. There are many examples, including a number of pre-set named colour functions that are not available in 2D.

The option you are looking for is ColorFunction. When you create a color function manually using the GUI, you can press the Copy Function button at the bottom. Paste the function into the notebook, and store it in a variable named cfun. Then use Image3D[yourDataOrYourImage, ColorFunction -> cfun].

The option you are looking for is ColorFunction. When you create a colour function manually using the GUI, you can press the Copy Function button at the bottom. Paste the function into the notebook, and store it in a variable named cfun. Then use Image3D[yourDataOrYourImage, ColorFunction -> cfun].

Be sure to look up the ColorFunction option within the Image3D documentation page. There are many examples, including a number of pre-set named colour functions that are not available in 2D.

Source Link
Szabolcs
  • 236.5k
  • 31
  • 641
  • 1.3k

The option you are looking for is ColorFunction. When you create a color function manually using the GUI, you can press the Copy Function button at the bottom. Paste the function into the notebook, and store it in a variable named cfun. Then use Image3D[yourDataOrYourImage, ColorFunction -> cfun].