0
$\begingroup$
{fig1, fig2} = With[{z = x + I*y},
  ParametricPlot[ReIm[#], {x, 0, 5}, {y, 0, 5},
    Mesh -> 10, PlotStyle -> LightGreen, 
    MeshStyle -> Directive[Thick, Darker[Green]],
    BoundaryStyle -> Directive[Thickness[.005], Darker[Green]],
    Frame -> False, Axes -> False
  ]
 ] & /@ {z, z^2};

GraphicsRow[{fig1, fig2}]

I plotted this in Wolfram Cloud. Does someone know how this plot put in LaTeX?

$\endgroup$
2
  • 1
    $\begingroup$ Export it as SVG Export["plots.svg", GraphicsRow[{fig1, fig2}]] and then try this: scivision.dev/include-svg-vector-latex . Since this question is about adding plots to $\LaTeX$ it seems like it belongs on TeX stackexchange $\endgroup$
    – flinty
    Apr 25 at 20:16
  • $\begingroup$ @flinty thank you $\endgroup$
    – D.T.
    Apr 25 at 20:18
1
$\begingroup$

The best way is export two PDF files and include them by pdflatex or xelatex (you can use minipage in LaTeX.)

{fig1, fig2} = 
  With[{z = x + I*y}, 
     ParametricPlot[ReIm[#], {x, 0, 5}, {y, 0, 5}, Mesh -> 10, 
      PlotStyle -> None, MeshStyle -> Directive[Thick, Darker[Green]],
       BoundaryStyle -> Directive[Thickness[.005], Darker[Green]], 
      Frame -> False, Axes -> False]] & /@ {z, z^2};

Export["fig1.pdf", fig1]
Export["fig2.pdf", fig2]
$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.