I need to plot a similar graph of a function [Scatter plot matrices]:
For:
$f(x,y,z,t) \rightarrow x^2 + y^3 + z^2 + t^2 ≤ 1,x + y - z = t^2$
But, I work in older version of Mathematica - 12.0
My considerations:
- build a dataset that satisfy a given inequalities with help
FindInstance
- distribute them in pairs
- place charts in the table using the
Show
command or equivalent
Issue: The resulting plots are discrete and the FindInstance
command is slow with a large number of points. Are there easier ways to get continuous scatter plot matrix?
FindInstance[x^2 + y^3 + z^2 + t^2 <= 1 && x + y - z == t^2, {x, y, z, t}, Reals,5] // N
sol=Solve[{y==y0,t==t0,x^2+y^3+z^2+t^2==1-a0,x+y-z==t^2},{x,y,z,t}]; randomSolution:=Block[{a0=RandomReal[{0,1}],y0=RandomReal[{-1,1}],t0=RandomReal[{-1,1}]}, sol]; Flatten[Select[Table[randomSolution,100],FreeQ[#,Complex]&],1]
$\endgroup$