epezent / implot

Immediate Mode Plotting
MIT License
4.79k stars 531 forks source link

implot for Geoscience #248

Open nkeskes opened 3 years ago

nkeskes commented 3 years ago

Dear All,

Is there any way in Implot to transpose X & Y axes for well data plotting

Well_Plot

Many Thanks

epezent commented 3 years ago

@nkeskes , there's no reason you can't render vertical streams. Just swap your x and y data when you pass them to PlotLine. See this post for a similar example. https://github.com/epezent/implot/discussions/180#discussioncomment-416284

The only current limitation is that we don't yet support horizontally shaded plots, as in the orange and blue/green columns. Is this specifically what you are looking for?

Let me know if this doesn't answer your question.

nkeskes commented 3 years ago

Dear Evan,

Thank you very much for this answer the horizontally shaded plots it's an important way to display zones of interest inside the reservoir. It is very used in geosciences that we could eventually replace it by a filling of polygons??

Best Regards Noomane Keskes

Le mer. 16 juin 2021 à 07:46, Evan Pezent @.***> a écrit :

@nkeskes https://github.com/nkeskes , there's no reason you can't render vertical streams. Just swap your x and y data when you pass them to PlotLine. See this post for a similar example. #180 (comment) https://github.com/epezent/implot/discussions/180#discussioncomment-416284

The only current limitation is that we don't yet support horizontally shaded plots, as in the orange and blue/green columns. Is this specifically what you are looking for?

Let me know if this doesn't answer your question.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/epezent/implot/issues/248#issuecomment-862059549, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD2XOXMVTZBXARK5F5ZX5HLTTA3BTANCNFSM46TS3TQQ .

epezent commented 3 years ago

@nkeskes , I've studied the plot you provided, and I'm pretty confident that we can faithfully recreate this with implot using subplots once they land (#203), and by adding some new overloads of PlotShaded. We will need to support horizontally filled shaded regions (trivial), and gradient fills (trivial, but requires some thought toward the API). The only thing I don't think I can replicate with our current pipeline is the 'sand' texture in the Density-Neutron column.

Stay tuned!

nkeskes commented 3 years ago

Dear Evan,

I am happy to know that almost everything is possible with implot how can we progress? Do you have someone to take over this improvement even without the texture If so, do you need funding ?

Best regards Noomane Keskes

Le ven. 18 juin 2021 à 07:47, Evan Pezent @.***> a écrit :

@nkeskes https://github.com/nkeskes , I've studied the plot you provided, and I'm pretty confident that we can faithfully recreate this with implot using subplots once they land (#203 https://github.com/epezent/implot/pull/203), and by adding some new overloads of PlotShaded. We will need to support horizontally filled shaded regions (trivial), and gradient fills (trivial, but requires some thought toward the API). The only thing I don't think I can replicate with our current pipeline is the 'sand' texture in the Density-Neutron column.

Stay tuned!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/epezent/implot/issues/248#issuecomment-863773665, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD2XOXLOPL5IVJTVGSY757LTTLMVHANCNFSM46TS3TQQ .