Polar coordinates mixed with cartesian coordinates

Discussion in 'Maple' started by Rainer Rosenthal, Aug 1, 2007.

  1. I want to combine two plots. One of them is a
    grid given in cartesian coordinates. The other one
    is an arc, written in polar coordinates.

    ==============================================================
    restart: with(plots):
    pgrid := pointplot({seq(seq([i,j],j=-1..3),i=-1..3)},
    axes=BOXED, symbol=CIRCLE,symbolsize=10,color=black):
    parc := plot([1/2,t,t=15*Pi/180..130*Pi/180],
    numpoints=100,coords=polar):
    display({pgrid,parc});
    ==============================================================

    This "overlay" of the two graphs is not exactly what I am
    aiming at. I would like to have the center of my arc
    somewhere else, at point [1,1] for example.

    Is there some "shift" possibility for that purpose? Here is
    a rough idea, which shows my intention:

    display({pgrid,parc+[1,1]});
    ^^^^^^
    "Translation" of the arc

    Maybe this question is as uninteresting for readers of this
    Maple-Newsgroup as my last question regarding the funny disc.
    Where should I pose my questions then, please?

    Best regards,
    Rainer Rosenthal
     
    Rainer Rosenthal, Aug 1, 2007
    #1
    1. Advertisements

  2. Rainer Rosenthal

    Joe Riel Guest

    parc2 := plottools[translate](parc, 1,1):
    display(pgrid,parc2);
    You can also pose these questions at MaplePrimes: www.MaplePrimes.com
     
    Joe Riel, Aug 1, 2007
    #2
    1. Advertisements

  3. Joe Riel wrote:

    [Wanted:]
    Many thanks for the two helpful answers. Nice that my translation
    idea was already there. So this was a "late anticipation" on my side :)

    Best regards,
    Rainer
     
    Rainer Rosenthal, Aug 1, 2007
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.