Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.8K Views
|
0 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Get proper clipping at PlotRange edge?

Posted 9 years ago

I've noticed that in some situations the clipping is not done properly, despite the explicit setting PlotRangeClipping->True: So I plot some complex function:

Plot[{my function}, {M5, 0, 400}, PlotRange -> {{0, 400}, {0, 1500}}, 
 Frame -> True, 
 FrameTicks -> {{{0, 300, 600, 900, 1200, 1500}, 
    None}, {{0, 100, 200, 300, 400}, None}}, 
 FrameLabel -> {"Subscript[\[Mu], 5] (MeV)", "m (MeV)"}, 
 PlotStyle -> {{Black, Thickness[.007]}, {Black, Dashed}, 
   Black, {Black, Dashing[Tiny]}}, 
 PlotLabels -> Placed[{"+", "\[Sigma]", "-"}, {Scaled[0.6], Above}], 
 ImagePadding -> None]

Then I save it as EPS, and I insert in LATEX:

\begin{figure}[!htb]
\centering
\includegraphics[scale=.7]{plot.eps}
\caption{Digraph.}
\label{fig:digraph}
\end{figure}

And after that I do pdf. It displays as: enter image description here How may I solve this problem?

EDIT: SIMPLE EXAMPLE

Let

ListPlot[Table[{x, Sin[x]}, {x, -0.5, 6, 0.2}], 
 PlotRange -> {{0, 5.1}, {-1, 1}}, Frame -> True, 
 ImageSize -> {200, 150}, Joined -> True, 
 ImagePadding -> {{40, 5}, {40, 5}}, PlotRangeClipping -> True]
Export["zz.eps", %];

It displays good as enter image description here

Then I save it as EPS, to insert in LATEX:

\begin{figure}[!htb]
\centering
\includegraphics[scale=.7]{zz.eps}
\caption{Digraph.}
\label{fig:digraph}
\end{figure}

And after that I do pdf: enter image description here enter image description here

There are "whiskers". How may I remove it?

connection with

POSTED BY: Alex Yakubovich
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard