Yes, using ContourPlot
.
And itβs even possible to build the text x^3 + y^3 = 6xy
along its own curve, replacing the Line
primitive with several Text
primitives:
ContourPlot[x^3 + y^3 == 6 xy, {x, -4, 4}, {y, -4, 4}, Background -> Black, PlotPoints -> 7, MaxRecursion -> 1, ImageSize -> 500] /. { Line[s_] :> Map[ Text[Style["x^3+y^3 = 6xy", 16, Hue[RandomReal[]]],
Or you can animate the equation along a curve, for example:
res = Table[ Normal[ ContourPlot[x^3 + y^3 == 6 xy, {x, -4, 4}, {y, -4, 4}, Background -> Black, ImageSize -> 600]] /. {Line[s_] :> {Line[s], Text[Style["x^3+y^3 = 6xy", 16, Red], s[[k]], {0, 0}, s[[k + 1]] - s[[k]]]}}, {k, 1, 448, 3}]; ListAnimate[res]
Arnoud buzing
source share