MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Plot3D over a triangular domain


Tun Myint Aung [TMA at nus.edu.sg] wrote:
 
    I would like to plot a function over a isosceles triangular domain. I
mean Plot3D[function, {x,-1,1},{y, -0.5+0.5x, 0.5-0.5x}]. But I got message
that the limit must be real number. Anyone can help me?
 
I did this using the UnitStep function.
Try Plot3D[UnitStep[y-(-.5+.5x),0.5-0.5x-y]*function,{x,-1,1},{y,-1,1}];
If something does not work I can send you the Notebook.
Regards,
Sergio Terrazas
University of Juarez
Mexico
 


  • Prev by Date: Real time analysis of data.
  • Next by Date: Zero Padding and ColumnAlignments in Version 5.1
  • Previous by thread: Re: plot3D over a triangular domain
  • Next by thread: Re: plot3D over a triangular domain