Timeline for Color a Function by its Derivative
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 14, 2015 at 11:48 | comment | added | Michael E2 |
Corrected: It might be worth pointing out that the normals are normalized: vn is a list of $(−f_x,−f_y,1)/\sqrt{f_x^2+f_y^2+1}$. The gradients $(f_x, f_y)$ are given by -vn[[All, 1;;2]]/vn[[All, 3]] and so forth. (You're welcome, and sorry for the typo earlier.)
|
|
Jan 14, 2015 at 11:46 | comment | added | kglr | @MichaelE2, thank you again. | |
Jan 14, 2015 at 7:56 | history | edited | kglr | CC BY-SA 3.0 |
added 737 characters in body
|
Jan 14, 2015 at 3:10 | comment | added | Michael E2 |
@Shaggy1135 In one way Plot3D is easier: One can use the VertexNormals as a basis for VertexColors .
|
|
Jan 14, 2015 at 2:34 | comment | added | kglr |
@Shaggy1135, good question. I think the approach suggested by Bob is more straightforward and it can be made to work for Plot3D too.
|
|
Jan 14, 2015 at 1:04 | comment | added | Shaggy1135 | Thank you for your answer. It's a shame that Mathematica requires such a complex procedure to acquire a seemingly simple result. I can certainly use your method, but this doesn't seem generalizable to Plot3D, which would be nice. | |
Jan 14, 2015 at 0:30 | comment | added | Michael E2 | Ah, that's what I was going to do! :) Just couldn't get back to it.... +1 | |
Jan 13, 2015 at 23:24 | history | answered | kglr | CC BY-SA 3.0 |