Mathematica 9 is now available
Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Plot3D over a triangular domain

  • To: mathgroup at
  • Subject: [mg58024] Plot3D over a triangular domain
  • From: Sergio Miguel Terrazas Porras <sterraza at>
  • Date: Thu, 16 Jun 2005 05:37:08 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

Tun Myint Aung [TMA at] 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.
Sergio Terrazas
University of Juarez

  • 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