Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1996
*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 1996

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

Search the Archive

help with graphics command

  • To: mathgroup at smc.vnet.net
  • Subject: [mg2874] help with graphics command
  • From: purswell at netplus.net (J.P. and/or Valerie Purswell)
  • Date: Tue, 2 Jan 1996 03:33:32 -0500
  • Organization: Internet Access Plus

Dear folks - 

I am trying to plot a sine wave with the middle portion grayed out.  The Plot command seems 
like the way to go, but I can't figure out how to get my rectangle to come out 
in like a GrayLevel[0.5]. (See syntax below)  Is it possible to adjust the 
shade of gray on the rectangle?  I'm working off the example on page 413 of 
the mathematica book. 

If it is not possible to adjust the shade used with this command, can you suggest an
 alternate way?


Plot[Sin[x]*50, {x, 0, 2Pi}, Prolog -> Rectangle[Scaled[{0.02, 0.25} ] , 
	Scaled[{1, 0.75}] ]]


Thanks in advance,  

JP


==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Re; Changing Directories
  • Next by Date: Re: Request for Mathematica Queueing Package
  • Previous by thread: Re: Request for Mathematica Queueing Package
  • Next by thread: help with graphics command