MathGroup Archive 2006

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

Search the Archive

Re: Graphics/PlotRange/LaTeX/Psfrag

  • To: mathgroup at
  • Subject: [mg70505] Re: Graphics/PlotRange/LaTeX/Psfrag
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at>
  • Date: Wed, 18 Oct 2006 04:16:58 -0400 (EDT)
  • Organization: The Open University, Milton Keynes, UK
  • References: <eh20ql$2m9$>

Paul wrote:
> Hello,
> I have the following problem:
> Is it possible to make the Graphics-object P1
> P1 = Graphics[ Show[P0,Frame->True, PlotRange -> {{...,...},
> {...,...}}]]
> forget that it is a segment (due to PlotRange) of a Graphics-object P0?
> I try to use PSfragExport
> ( and every time
> I export a Graphics-object which is a part of an other Graphics-object
> (while using  PlotRange) to an eps-dat., the whole original
> Graphics-object is shown. So I thought it would be good if I can make
> P1 forget about his "origin".
> Do you know a possibility?
> Best regards, 
> Paul
Hi Paul,

I could not access the given URL. I got a "Server not found" error 
message. I tried Google but got the same URL -- and the same error 
message. It might be just an issue with my ISP.

Anyway, I am not sure to have understood what exactly your request is 
about. When I export the following graph as EPS file, everything works 
fine: The first one displays the full range graphics while the second 
one displays only the required sub-range: the latter has "lost" its 
origin. (I use Ghostscript 8.51 and GSview 4.7.)

g0 = Plot[Sin[x], {x, -2*Pi, 2*Pi}];

Export["c:\\g0.eps", g0];

g1 = Show[g0, Frame -> True, PlotRange ->
      {{0, 2*Pi}, {-0.5, 1}}];

Export["c:\\g1.eps", g1];


5.2 for Microsoft Windows (June 20, 2005)


  • Prev by Date: Re: Literal HTML
  • Next by Date: Re: save value in array during loop
  • Previous by thread: Re: Graphics/PlotRange/LaTeX/Psfrag
  • Next by thread: RE: Re: Graphics/PlotRange/LaTeX/Psfrag