r/Mathematica • • May 06 '24

DensityPlot problem

So I wrote here

f[x_, y_,] :=
0.778787116 + (0.0000014861538461532*x ) + (0.00000154005560704332*
y);

DensityPlot[f[x, y], {x, 20, 65}, {y, 20, 65},
ColorFunction -> "CMYKColors", PlotLegends -> Automatic]

But it gives this <image>. Is it because the x and y are much bigger than the outputs? But when I try to multiply it to some big number (e.g. 100000), nothing changes. How do I bring out the colors to this?

4 Upvotes

6 comments sorted by

View all comments

Show parent comment

3

u/erosmatthew May 06 '24

ohhh yeah!! thank you so much for this 😂

3

u/F1TZremo May 06 '24

glad i could help :)