Solution 1:

I would use

  • most probably Asymptote
  • or maybe Povray
  • or even Blender

Solution 2:

I'd try inkscape: It has a plug in for a function generator. You'll receive said function as a vectorized path. To get the perspective right you can then use Inkscape's transform tools. Last time I checked, transparency was also supported.