Re: a curve on a surface ?




Olivier wrote:
Dear all,

I simply want a curve ( cos(u),sin(u),u )
on a cylinder ( cos(u),sin(u),v ). But with
hidden contours :-(
The problem I meet : some of the segments
that represent the curve are under/over part of the
tiles that represent the surface, though in real
life they are on it.

Please always give a (small) example of what you're trying to do. It's
easier to debug code than descriptions. What's wrong with

set parametric
set urange [0:pi]
set hidden3d
set isosamples 25,25
splot cos(u),sin(u),v, cos(u),sin(u),u

[...]
PS: working with linux and gtk usually
if you know of a graphical interface,
I would be happy (xgfe seems to ask for Qt :-()

You're probably best off to get used to the command line interface. The
graphical user interfaces tend to lag behind in support of useful
gnuplot features, and are often poorly supported themselves (e.g.
disappearing home pages).

But I would like to do several things:
-- cut the cylinder along a line and
unfold / flatten the resulting sheet of paper
(in two / three steps)

I'm not completely sure what you mean here, but wouldn't this just be a
plot of z versus phi?

-- an oblilque plane is cutting this cylinder.
I would love the orthonormal projection
on this plane. I should be able to do it with
some contour stuff but I'm rather stuck ...

gnuplot's not a three dimensional geometry package, it's a plotting
package. You'll have to do the math either yourself or in another
program.

THeo

.



Relevant Pages

  • [newbie] a curve on a surface ?
    ... I simply want a curve,sin,u) ... on a cylinder,sin,v). ... hidden contours :-( ... -- an oblilque plane is cutting this cylinder. ...
    (comp.graphics.apps.gnuplot)
  • Re: Determining the curve
    ... Where I work I use a roller to role a flat plate of metal into a curve. ... The diameter of each cylinder is 74 mm. ... the plate into a curve which in the end curves to form a circle. ...
    (sci.math)
  • Re: Determining the curve
    ... Where I work I use a roller to role a flat plate of metal into a curve. ... The diameter of each cylinder is 74 mm. ...
    (sci.math)
  • Re: curved cylinder
    ... > I am new to matlab an I am facing a problem.I want to design a curved> cylinder.The cylinder is made such that we have small circles of> changeable radius around a curve. ... Take a circle of unit radius and pre-compute the positions of N vertices of the circle. ... Then, at each step along the curve, multiply those positions by the current radius and set the Z coordinate to be the current displacement along the curve. ...
    (comp.soft-sys.matlab)
  • Determining the curve
    ... Where I work I use a roller to role a flat plate of metal into a curve. ... The diameter of each cylinder is 74 mm. ... can set it to the correct vertical position to create the circle I ...
    (sci.math)