![如何在 LaTex 中绘制二重积分的区域?](https://linux22.com/image/443780/%E5%A6%82%E4%BD%95%E5%9C%A8%20LaTex%20%E4%B8%AD%E7%BB%98%E5%88%B6%E4%BA%8C%E9%87%8D%E7%A7%AF%E5%88%86%E7%9A%84%E5%8C%BA%E5%9F%9F%EF%BC%9F.png)
请帮我画出0 < x < 1
和的区域1-x < y < 1-x^2
。
答案1
以下是一段简短的代码pstricks
:
\documentclass[border=6pt, pstricks, svgnames]{standalone}
\usepackage{pst-plot}
\begin{document}
\begin{pspicture*}(-2.95,-2.95)(3,3)
\psset{arrowinset=0.15,showorigin=false, labelFontSize=\scriptstyle, linejoin=1}
\psaxes[linecolor=LightSteelBlue, ticksize=-2pt 2pt]{->}(0,0)(-2.95,-2.95)(3,3)[$x$,-120][$y$, -120]
\pscustom[fillstyle=solid, fillcolor=Lavender, linestyle=none, algebraic]{\psplot{0}{1}{1 - x^2}\psset{linecolor=Lavender}\closepath)}
\psline(-2,3)(3,-2)
\psparabola{-}(-3,-8)(0,1)
\end{pspicture*}
\end{document}