Menu

#1371 polar range not rotating, OS X 10.5.8 gnuplot 4.6.5 (macports)

closed-invalid
nobody
5
2015-03-23
2014-04-04
Anonymous
No

"set trange [-90:270]" or "[90:450]" produces the same result as trange [0:360]
One might expect the range would get mapped to give a rotated output.
Often data with plan views have North, or 0 degrees at the top (e.g. antenna patterns). Perhaps there is already a correct way of achieving this & I have mossed it in the docs?

Discussion

  • Ethan Merritt

    Ethan Merritt - 2014-04-04

    It works for me. These two plots are quite different:

    set trange [-90:270]
    set polar
    set ang degree
    plot t

    set trange [0:360]
    replot

    To keep the same plot but rotate it you wouldn't want to change the sampling range, only the phase of the mapping:
    set trange [lo:hi]
    plot (t-phase)

     
  • Ethan Merritt

    Ethan Merritt - 2014-04-26
    • status: open --> closed-invalid
     

Log in to post a comment.