MathGroup Archive 2007

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

Search the Archive

Re: Graphics does not work: please comment.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg77206] Re: Graphics does not work: please comment.
  • From: dh <dh at metrohm.ch>
  • Date: Tue, 5 Jun 2007 06:58:41 -0400 (EDT)
  • References: <f40h44$6hr$1@smc.vnet.net>


Hello Peter,

consider g=Plot[x,{x,0,1}]. What you get from Format/Show Expression is 

not the same as g. g contains the mathematica commands to create the 

graphics. It does print as "-Graphics-", but you can look at g by e.g. 

FullExpression[g]. Show Expression on the other hand gives you 

postscript code that has been created from the expression in g that fits 

your output dives, here the screen.

As you are not spefifying your problem, that is all I can say.

hope this helps, Daniel





P_ter wrote:

> Hello,

> I have a severe problem. 

> If I do in Mathematica 5.2: Plot[x, {x, 0, 1}], the result is just -Graphics-.

> So clicking on the empty rectangle I get with Format Show Expression the following expression. Has anyone an idea what is wrong with it? Is it wrong? Any suggestion is welcome. First I give some info about the grapics, than

> comes the Format Show Expression.

> Greetings, P_ter

> ==================Info=================

> Show[Graphics[{

> AbsoluteThickness[1]

> }], AspectRatio->0.617839,

> PlotRange->{{47, 335}, {4, 181.938}},

> ImageSize->{288, 177.938}]

> =================End Info=============

> ==================Start:Format Show Expression=======

> Cell[GraphicsData["PostScript", "\<\

> %!

> %%Creator: Mathematica

> %%AspectRatio: .61803 

> MathPictureStart

> /Mabs {

> Mgmatrix idtransform

> Mtmatrix dtransform

> } bind def

> /Mabsadd { Mabs

> 3 -1 roll add

> 3 1 roll add

> exch } bind def

> %% Graphics

> %%IncludeResource: font Courier

> %%IncludeFont: Courier

> /Courier findfont 10  scalefont  setfont

> % Scaling calculations

> 0,0238095 0,952381 0,0147151 0,588604 [

> [.21429 0,00222 -9 -9 ]

> [.21429 0,00222 9 0 ]

> [.40476 0,00222 -9 -9 ]

> [.40476 0,00222 9 0 ]

> [.59524 0,00222 -9 -9 ]

> [.59524 0,00222 9 0 ]

> [.78571 0,00222 -9 -9 ]

> [.78571 0,00222 9 0 ]

> [.97619 0,00222 -3 -9 ]

> [.97619 0,00222 3 0 ]

> [.01131 .13244 -18 -4,5 ]

> [.01131 .13244 0 4,5 ]

> [.01131 .25016 -18 -4,5 ]

> [.01131 .25016 0 4,5 ]

> [.01131 .36788 -18 -4,5 ]

> [.01131 .36788 0 4,5 ]

> [.01131 .4856 -18 -4,5 ]

> [.01131 .4856 0 4,5 ]

> [.01131 .60332 -6 -4,5 ]

> [.01131 .60332 0 4,5 ]

> [ 0 0 0 0 ]

> [ 1 .61803 0 0 ]

> ] MathScale

> % Start of Graphics

> 1 setlinecap

> 1 setlinejoin

> newpath

> 0 g

> 25 Mabswid

> [ ] 0 setdash

> 21429 .01472 m

> 21429 .02097 L

> s

> [(0.2)] .21429 0,00222 0 1 Mshowa

> 40476 .01472 m

> 40476 .02097 L

> s

> [(0.4)] .40476 0,00222 0 1 Mshowa

> 59524 .01472 m

> 59524 .02097 L

> s

> [(0.6)] .59524 0,00222 0 1 Mshowa

> 78571 .01472 m

> 78571 .02097 L

> s

> [(0.8)] .78571 0,00222 0 1 Mshowa

> 97619 .01472 m

> 97619 .02097 L

> s

> [(1)] .97619 0,00222 0 1 Mshowa

> 125 Mabswid

> 07143 .01472 m

> 07143 .01847 L

> s

> 11905 .01472 m

> 11905 .01847 L

> s

> 16667 .01472 m

> 16667 .01847 L

> s

> 2619 .01472 m

> 2619 .01847 L

> s

> 30952 .01472 m

> 30952 .01847 L

> s

> 35714 .01472 m

> 35714 .01847 L

> s

> 45238 .01472 m

> 45238 .01847 L

> s

> 5 .01472 m

> 5 .01847 L

> s

> 54762 .01472 m

> 54762 .01847 L

> s

> 64286 .01472 m

> 64286 .01847 L

> s

> 69048 .01472 m

> 69048 .01847 L

> s

> 7381 .01472 m

> 7381 .01847 L

> s

> 83333 .01472 m

> 83333 .01847 L

> s

> 88095 .01472 m

> 88095 .01847 L

> s

> 92857 .01472 m

> 92857 .01847 L

> s

> 25 Mabswid

> 0 .01472 m

> 1 .01472 L

> s

> 02381 .13244 m

> 03006 .13244 L

> s

> [(0.2)] .01131 .13244 1 0 Mshowa

> 02381 .25016 m

> 03006 .25016 L

> s

> [(0.4)] .01131 .25016 1 0 Mshowa

> 02381 .36788 m

> 03006 .36788 L

> s

> [(0.6)] .01131 .36788 1 0 Mshowa

> 02381 .4856 m

> 03006 .4856 L

> s

> [(0.8)] .01131 .4856 1 0 Mshowa

> 02381 .60332 m

> 03006 .60332 L

> s

> [(1)] .01131 .60332 1 0 Mshowa

> 125 Mabswid

> 02381 .04415 m

> 02756 .04415 L

> s

> 02381 .07358 m

> 02756 .07358 L

> s

> 02381 .10301 m

> 02756 .10301 L

> s

> 02381 .16187 m

> 02756 .16187 L

> s

> 02381 .1913 m

> 02756 .1913 L

> s

> 02381 .22073 m

> 02756 .22073 L

> s

> 02381 .27959 m

> 02756 .27959 L

> s

> 02381 .30902 m

> 02756 .30902 L

> s

> 02381 .33845 m

> 02756 .33845 L

> s

> 02381 .39731 m

> 02756 .39731 L

> s

> 02381 .42674 m

> 02756 .42674 L

> s

> 02381 .45617 m

> 02756 .45617 L

> s

> 02381 .51503 m

> 02756 .51503 L

> s

> 02381 .54446 m

> 02756 .54446 L

> s

> 02381 .57389 m

> 02756 .57389 L

> s

> 25 Mabswid

> 02381 0 m

> 02381 .61803 L

> s

> 0 0 m

> 1 0 L

> 1 .61803 L

> 0 .61803 L

> closepath

> clip

> newpath

> 5 Mabswid

> 02381 .01472 m

> 06244 .03859 L

> 10458 .06463 L

> 14415 .08909 L

> 18221 .11261 L

> 22272 .13765 L

> 26171 .16175 L

> 30316 .18736 L

> 34309 .21204 L

> 3815 .23578 L

> 42237 .26104 L

> 46172 .28536 L

> 49955 .30874 L

> 53984 .33364 L

> 57861 .3576 L

> 61984 .38308 L

> 65954 .40762 L

> 69774 .43123 L

> 73838 .45635 L

> 77751 .48053 L

> 81909 .50623 L

> 85916 .53099 L

> 89771 .55482 L

> 93871 .58016 L

> 97619 .60332 L

> s

> % End of Graphics

> MathPictureEnd

> \

> \>"], "Graphics",

>   CellLabel->"From In[3]:=",

>   ImageSize->{288, 177.938},

>   ImageMargins->{{44, 0}, {0, 0}},

>   ImageRegion->{{0, 1}, {0, 1}}]

>  

> ==========END===================

> 




  • Prev by Date: Re: Very Strange Behaviour about something Very Simple
  • Next by Date: Re: Re: NestListEffects function not working in 6.0
  • Previous by thread: Re: Graphics does not work: please comment.
  • Next by thread: Re: Re: Graphics does not work: please comment.