Comment activer InterpolationOrder dans un seul axe dans ListDensityPlot
Sep 01 2020
Comment contrôler la direction de InterpolationOrderdans ce code, je voudrais qu'il soit 1long yet 0longx
ListDensityPlot[
Flatten[ParallelTable[{i/2, j, i j}, {i, 2, 10, 2}, {j, 0, 1.7,
0.08}], 1], InterpolationOrder -> {0, 3},
ColorFunction -> (Blend[{White, Blue}, #] &), PlotRange -> All]
Réponses
1 kglr Sep 01 2020 at 07:29
iF = Interpolation[Flatten[ParallelTable[{i/2 + 1/2, j, i j},
{i, 0, 10, 2}, {j, 0, 1.7, 0.08}], 1], InterpolationOrder -> {0, 1}];
DensityPlot[iF[x, y], {x, 1, 5}, {y, 0, 1.7},
ColorFunction -> (Blend[{White, Blue}, #] &), PlotPoints -> 50]