Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: The Principle "Everything is an expression"

  • To: mathgroup at smc.vnet.net
  • Subject: [mg101222] Re: The Principle "Everything is an expression"
  • From: David Reiss <dbreiss at gmail.com>
  • Date: Sat, 27 Jun 2009 06:03:07 -0400 (EDT)
  • References: <h2295n$hou$1@smc.vnet.net>

This example does not violate the principle.  FullGraphics is acting
on the graphics expression to generate a new expression.  Both are
valid expressions and both will render as, visually, entities that are
perceived as the same.  But their structures may differ.  FullGraphics
is acting on an expression to yield an expression.  Both are
expressions and so in this example  "Everything is an expression" .

--David

On Jun 26, 6:50 am, Alexey <lehi... at gmail.com> wrote:
> Hello,
>
> I think that the underlying principle "Everything is an expression" in
> Mathematica is great and is one of the most exciting advantages of the
> Mathematica system.
>
> But it is disappointing that this principle is still fails even on
> such basic example as representation of a simple Plot. Consider the
> following:
>
> g = Plot[Sin[x], {x, 0.2, 10}]
> Show[FullGraphics[g], AspectRatio -> 1/GoldenRatio]
>
> It is clear that the two generated images are significantly different.
> This means that the function FullGraphics[] does not gives the true
> expression-representation of the first plot. Is it true that in really
> we can not get the true representation of the plot as an expression?
> And the principle mentioned really fails even on this? Or there is
> another way to get it?
>
> Thank you for your attention a priori.



  • Prev by Date: Re: Separating real part and imaginary part from each other
  • Next by Date: Re: The Principle "Everything is an expression"
  • Previous by thread: Re: The Principle "Everything is an expression"
  • Next by thread: Re: The Principle "Everything is an expression"