[sage-support] Re: Plotting heat maps of scalar fields in SAGE

2022-11-14 Thread Gaurish Telang
Thanks so much! On Wednesday, October 19, 2022 at 7:59:36 PM UTC+5:30 Emmanuel Charpentier wrote: > That can be done in Sage in a variety of ways . Here’s one : > > var("x, y") > L = 3# Plotted function > f =lambda x,y:cos(x)-2*y# Coloring# Colormap > cm=colormaps["RdBu"]# We have to scale the

[sage-support] Plotting the solution returned by desolve

2022-11-14 Thread Gaurish Telang
I want to plot the solution of my differential equation. However, the solution returned by `desolve` is in implicit form (as should be expected, the docs say most solution returned are like that) Here is my current broken code. ``` x = var ('x') y = function ('y')(x) sol = desolve(diff(y,x)==