[Scilab-users] Gridding irregular data to apply contour or Sgrayplot

2024-05-30 Thread Lester Anderson
Hello, Given the attached plot example, is it possible to contour or use Sgrayplot on such data if it is not on a regular grid? The plot is a Kaverina earthquake analysis, and I am looking to generate a density plot within the Kaverina plot region only.All arrays have the same size, X,Y,data1,

Re: [Scilab-users] Gridding irregular data to apply contour or Sgrayplot

2024-05-30 Thread Federico Miyara
Lester, Just an idea: if the data lend themselves to it (I mean, they are sufficiently smooth), you could interpolate with a uniform grid using interp2(). Regards, Federico Miyara On 30/5/2024 11:33, Lester Anderson wrote: Hello, Given the attached plot example, is it possible to contour or

Re: [Scilab-users] Gridding irregular data to apply contour or Sgrayplot

2024-05-31 Thread Stéphane Mottelet
Hello Lester, I have answered on discourse: https://scilab.discourse.group/t/creating-a-contour-plot-of-an-irregular-plot-area/ As the Kaverina plot is very similar to a classical ternary plot, the same tools can probably be used, bsesides the fact that the triangle seems to be a Reulaux tria