\curve of curves.sty



I have the following problem with \curve of curves.sty: the line
segments that I give to the \curve macro are nicely created except
that they often extend beyond my given x lower boundary. Some times
they also extend beyond my given x upper boundary too. This seems to
be the case, or at least it is most noticeable, for shorter line
segments (2-20mm). I am using MiKTeX and WinEdt. Notice these are
straight lines (no quadratic term).

All I want is go generate a number of standard geometric forms and
need more than the 6 slopes standard LaTeX provides (also it seems
that even those slopes must be of a certain minimum length to actually
appear in the dvi, see below example).

I would be happy for any suggestions on how to make \curve keep to its
given boundaries or how to (easily) generate non-standard slope
(short) straight lines

Below is an example:

\newcommand{\myHex}[2]{
\put(-#2,-#1){\line(1,0){#1}\line(1,1){#1}}
\put(-#2,#1){\line(1,0){#1}\line(1,-1){#1}}
\put(-#1,0){%
\put(-#2,0){\line(1, 1){#1}}%
\put(-#2,0){\line(1,-1){#1}}%
}
}

\begin{figure}
\begin{center}
\setlength{\unitlength}{1mm}
\begin{picture}(120,140)(-60,-70)\large\sf%
\thinlines
\put(-40,0){\myHex {10}{5}}
\put(-40,0){\myHex {5}{2.5}}
\put(30,-50){\line(0,1){100}}
\put(-40,0){\myHex {2}{1}}
\put(50,-50){\line(0,1){100}}
\put(30, 0){\curve(0,0, 1,1, 20,20)}
\put(30,-10){\curve(0,0, 2,2, 20,20)}
\put(30,-15){\curve(0,0, 10,10, 20,20)}
\put(30,-20){\curve(0,0, 3,3, 20,20)}
\put(30,-30){\curve(0,0, 4,4, 20,20)}
\end{picture}
\end{center}
\end{figure}


Thanks for any advice or suggestions, David.

.



Relevant Pages

  • Re: Fitting One Curve Between 2 Others
    ... third discontinuous curve consisting of straight line segments between ... between the line segments and the first two curves at the contact ... then you can make the error in the slopes ... minimize the maximum abs deviation of the slopes ...
    (sci.math.num-analysis)
  • Re: Functions and Curves
    ... quasi wrote: ... injective map h: R-> R^2 such that Qx is included in h. ... line segments intersect or overlap. ... Then extend L1 to the next point of S1 and relabel L1 to represent the ...
    (sci.math)
  • Re: Is a line segment composed of points?
    ... I think it can also be proved that all line segments ... Lets take a look at the points used in graphing. ... line doesn't exist in the 2D space as a standalone object. ... Are they boundaries of some thing? ...
    (sci.math)
  • Re: Good news for broadband in Scotland
    ... we funded the exploration and production, and if you extend the ... boundaries in the internationally accepted manner you'll find most of ...
    (uk.telecom.broadband)
  • multiple regions and their rectangular boundaries
    ... I have an image (background and some unknown objects of unknown ... boundaries for all multiple regions (segments). ... if term "rectangular boundaries" is correct. ...
    (sci.image.processing)