data-analysis
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
data-analysis [2024/01/14 09:19] – [GnuPlot] Use autotitle columnhead dblume | data-analysis [2024/05/06 22:22] (current) – Added mention of set term block braille dblume | ||
---|---|---|---|
Line 43: | Line 43: | ||
# | # | ||
set term dumb `tput cols` `tput lines`*9/10 | set term dumb `tput cols` `tput lines`*9/10 | ||
+ | # Or, if you have gnuplot 6.0 and are using Deja Vu font, then... | ||
+ | #set term block braille size `tput cols`,`tput lines`*9/10 | ||
# | # | ||
Line 59: | Line 61: | ||
set xdata time | set xdata time | ||
set xlabel ' | set xlabel ' | ||
- | set ylabel ' | + | set xtics " |
+ | #set ylabel ' | ||
# | # | ||
Line 84: | Line 87: | ||
#plot f using 1:2 with lines, f using 1:3 with linespoints title ' | #plot f using 1:2 with lines, f using 1:3 with linespoints title ' | ||
plot f using 1:2 with linespoints | plot f using 1:2 with linespoints | ||
+ | </ | ||
+ | |||
+ | If you're making a " | ||
+ | <file bash gnuplot_instructions.gpi> | ||
+ | # Mostly the same as above, until... | ||
+ | |||
+ | # Set your X axis format | ||
+ | set style histogram clustered gap 1 | ||
+ | set style fill solid border -1 | ||
+ | |||
+ | # Finally, plot with boxes | ||
+ | plot f using 1:2 with boxes | ||
</ | </ | ||
Line 150: | Line 165: | ||
# For ASCII on one full screen | # For ASCII on one full screen | ||
#set term dumb `tput cols` `tput lines`*9/10 | #set term dumb `tput cols` `tput lines`*9/10 | ||
+ | |||
+ | # If you have gnuplot 6.0 and are using Deja Vu font, then... | ||
+ | #set term block braille size `tput cols`,`tput lines`*9/10 | ||
# For a PNG file. | # For a PNG file. | ||
Line 174: | Line 192: | ||
700 +-------------------------------------------------------------------------------+ | 700 +-------------------------------------------------------------------------------+ | ||
| + | | + | ||
- | | | + | | #Passengers ******* | |
| * | | | * | | ||
600 |-+ *+-| | 600 |-+ *+-| |
data-analysis.1705252752.txt.gz · Last modified: 2024/01/14 09:19 by dblume