[Tutor] How to plot possible values of a function on specified range
Mark Lawrence
breamoreboy at gmail.com
Mon May 25 17:42:26 EDT 2020
On 25/05/2020 20:49, SATYABRATA DATTA wrote:
> Let say I have a function
>
> def f:x,y,z return x**2+abs(exp(5*y)-5*z) x=range[0,2.65] y=range[0,3.86]
> z=range[0,6]
>
> Now I have to plot possible values of the function f[x,y,z] against z. It
> will look like a scattered discrete points in f-z plan( each point will
> indicate the values of f for randomly varied x,y,z)
https://matplotlib.org/
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
More information about the Tutor
mailing list