Group Abstract Group Abstract

Message Boards Message Boards

0
|
1.4K Views
|
3 Replies
|
1 Total Like
View groups...
Share
Share this post:

ListDensityPlot3D data not dealing with tiny numbers

Posted 1 year ago
POSTED BY: Mike Rosing
3 Replies

You may try a logarithmic rescaling of the actual values of p, or indirectly with a ColorFunction.

POSTED BY: Gianluca Gorni

If your data for f are all positive you may try ColorFunction -> Function[{x, y, z}, Hue[Log[z]].

If the minimum value of f is negative, try something like ColorFunction -> Function[{x, y, z}, Hue[Log[z-2*minimumValue]].

POSTED BY: Gianluca Gorni
Posted 1 year ago

I tried ColorFunction, but maybe I don't understand how to use it. I can post process the numbers to scale them though, before messing with Mathematica. Log(-x) is imaginary, so that complicates things. Thanks, I was hoping I was missing something obvious, but a little more work to make the numbers nice won't be that difficult.

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