MathGroup Archive 2007

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

Search the Archive

Re: Plot "not working"

  • To: mathgroup at smc.vnet.net
  • Subject: [mg80644] Re: Plot "not working"
  • From: dimitris <dimmechan at yahoo.com>
  • Date: Tue, 28 Aug 2007 02:05:19 -0400 (EDT)
  • References: <fath12$3m9$1@smc.vnet.net>

On 27    , 06:39, be... at hushmail.com wrote:
> When I enter Plot[{Sin[x], Sin[2 x], Sin[3 x]}, {x, 0, 2 Pi}] ...
> all I get is the word "-Graphics-", but no plot is visible...
>
> Any help is appreciated...thanks in advance!

The only explanation I can think right now is the following:

In[2]:=
$DisplayFunction = Identity;

In[3]:=
Plot[{Sin[x], Sin[2*x], Sin[3*x]}, {x, 0, 2*Pi}]

Out[3]=
Graphics[]

I.e. someone has changed the default setting for $DisplayFunction.

On the contrary,

In[5]:=
$DisplayFunction = Display[$Display, #1] & ;

In[6]:=
Plot[{Sin[x], Sin[2*x], Sin[3*x]}, {x, 0, 2*Pi}]

and the plots are here!

Cheers
Dimitris



  • Prev by Date: Re: Plot "not working"
  • Next by Date: Mistake in applying a rule
  • Previous by thread: Re: Plot "not working"
  • Next by thread: Re: Plot "not working"