DaveL17 wrote:Now you're cooking.
I still find myself tweaking these things all the time. It's a sickness, really.
kw123 wrote:I have problems with GNUPLOT V5.0 with polar coordinates. The grid liens are completely screwy. any one using Polar plots?
should look like straight lines.
Karl
set datafile separator ";"
set output '/Users/karlwachs/Plots/polar-minute-S1.png'
set terminal png truecolor enhanced medium size 350,350 dashlength 0.5 background rgb "#FFFFFF"
set key textcolor rgb "#000000"
unset xlabel
unset ylabel
unset ytics
unset xtics
unset border
set polar
set angles radian
set clip
set style line 100 lt 0 lw 1 linecolor rgb "#000000"
set grid polar 0.523598775598 back ls 100
set format r "%0.f"
set rtics (1,2,3,4,5)
set rrange [0:5]
set label "N" at +0.25,+4.875 center textcolor rgb "#000000"
set label "E" at +4.85,-0.45 center textcolor rgb "#000000"
set label "S" at -0.25,-4.75 center textcolor rgb "#000000"
set label "W" at -4.85,+0.25 center textcolor rgb "#000000"
set for[i=0:330:30] label sprintf("%d",i) at 5.0*cos((450 -i)*0.0174532925199), 5.0*sin((450-i)*0.0174532925199) center textcolor rgb "#000000"
set label "x-axis Text" at 4.8816,0.2375 center textcolor rgb "#000000"
plot '/Users/karlwachs/Documents/INDIGOplotD/data/minute.dat'\
using 76:70 with points linetype 0 linewidth 2.0 linecolor rgb "#FF0000" title "" axis x1y1\
#! /usr/bin/env gnuplot
# -*- coding: utf-8 -*-
reset
source = "/Users/.../Dropbox/Public/chartsTest.csv"
set datafile separator ","
set output '/Users/.../Dropbox/Public/chartsTest.png'
set terminal pngcairo truecolor enhanced size 500,500 font "Lato Light,11" dashlength 0.5 background rgb "#000000"
unset xtics
unset xlabel
unset ytics
unset ylabel
unset border
unset key
set angles degrees
set polar
set size square
set clip
set style line 100 lw 0.75 lc rgb "#444444"
set grid polar 45 back ls 100
set rtics (5,10,15,20) offset -1.5,1.5 tc rgb "#444444"
set rrange [0:20]
set tmargin 2.5
set lmargin 5
set rmargin 5
set bmargin 2.5
set label "N" at +00.0,+21.0 center tc rgb "#FFFFFF"
set label "NE" at +15.0,+15.0 center tc rgb "#FFFFFF"
set label "E" at +21.0,+00.0 center tc rgb "#FFFFFF"
set label "SE" at +15.0,-15.0 center tc rgb "#FFFFFF"
set label "S" at +00.0,-21.0 center tc rgb "#FFFFFF"
set label "SW" at -15.5,-15.5 center tc rgb "#FFFFFF"
set label "W" at -21.0,+00.0 center tc rgb "#FFFFFF"
set label "NW" at -15.0,+15.0 center tc rgb "#FFFFFF"
plot source using 1:2 with points pointtype 7 lw 2.0 lc rgb "#FF0000"
kw123 wrote:Sure. I am out. Will send you what I have when I am back.
Looks like you like black backgrounds.
You could mirror the numbers to rotate counter clockwise. But that's not just *-1.
+pi should do it but then you might get over 2pi then you need to subtract 2pi if greater. Also just move it up add pi/4. The same is true if you use degrees. Replace pi->180 etc.
Users browsing this forum: No registered users and 2 guests