Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: Re: GridPlot


/; is the short form of Condition.

-----
Selwyn Hollis
http://www.math.armstrong.edu/faculty/hollis
(edit reply-to to reply)


On Jan 26, 2004, at 1:53 AM, Harold Noffke wrote:

> Selwyn:
>
> I liked your gridPlot module, and it is in my library.  However, I
> don't understand one Mathematica programming construct you used twice.
>  I've neither seen it before, nor have I been able to find a
> programmer's definition for it in the Mathematica 5.0 Help System.  In
> the line of code ...
>
>     {GrayLevel[0.], AbsoluteThickness[t_], Line[{{u_, y1_}, {u_,
> y2_}}]} /;
>
> you use the /-character before the semicolon.  There is an earlier
> line where you also use this.
>
> Other than "division", I don't know what the /-character accomplishes
> in this context.  Does it go with the semicolon (which ends lines
> without output)?  I do know that if I take it out, your code
> malfunctions.
>
> If there's an reference for this in the Help System, I'd also
> appreciate a pointer to the correct bookmark.
>
> Regards,
> Harold
>
>


  • Prev by Date: Re: [Outer [Times, , ] ] Question
  • Next by Date: Re: Problems with Plot in Mathematica 4.0
  • Previous by thread: Re: GridPlot
  • Next by thread: Any way to display vars internal to a function on interrupt?