Custom Color for NGridSurfaceSeries


Author
Message
Teddy Lambropoulos
Teddy Lambropoulos
Junior Member (20 reputation)Junior Member (20 reputation)Junior Member (20 reputation)Junior Member (20 reputation)Junior Member (20 reputation)Junior Member (20 reputation)Junior Member (20 reputation)Junior Member (20 reputation)Junior Member (20 reputation)
Group: Forum Members
Posts: 20, Visits: 1

Is there a way to use custom colors for each point on an NGridSurfaceSeries?

I know there is a way to do this using the NTriangulatedSurfaceSeries but is there a method for the NGridSurfaceSeries?

I will explain my issue to help clarify any questions. Essentially I want to plot a sphere in 3D space using an NGridSurfaceSeries showing the temperature of this sphere along the surface using color. I have 4 matrices, one for X position, one for Y position, one for Z position, and one for temperature. Each element in the temperature matrix corresponds to a temperature for a given X,Y,Z position. I want to show hot, warm, cool, and cold temperatures along this sphere by using colors.


Reply
Teddy Lambropoulos
Teddy Lambropoulos
Junior Member (20 reputation)Junior Member (20 reputation)Junior Member (20 reputation)Junior Member (20 reputation)Junior Member (20 reputation)Junior Member (20 reputation)Junior Member (20 reputation)Junior Member (20 reputation)Junior Member (20 reputation)
Group: Forum Members
Posts: 20, Visits: 1

Thanks for the response!

Alright, so it seems I will have to use the NTriangulatedSurfaceSeries to show my data. I have another follow up question now.

I have a method that calculates colors for each x,y,z point in my plot, but the colors do not seem to blend well. For example, I say if my color vector is between 1 and 2, color it red. If it is between 2 and 3, color it orange. If it is between 3 and 4, color it yellow. Etc, etc. However I would like to include more colors than just the few I have manually programmed. I know I can create a palette to do this, but I would like the palette to reflect the values of my color vector (the temperature), not the z vector. Is there a way I can do this?

If not, I would like to incorporate color blending. For example, if the value of the color vector is 1.2, it falls between 1 and 2, but is closer to 1. So I would want the color to be more red than orange (using my above defined color scheme). Is there an already established method for this color interpolation in Nevron or will I have to write my own color interpolation method?

Thank you,

Teddy


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search