Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
mubes
leater
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
leater
/
plotout.cmd
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
51 lines (46 loc) · 1.31 KB
master
Breadcrumbs
leater
/
plotout.cmd
Copy path
Top
File metadata and controls
Code
Blame
51 lines (46 loc) · 1.31 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Use: gnuplot < plotout.cmd > a.pdf
set datafile separator ","
set terminal "pdf" enhanced font 'Verdana,9'
set tmargin 0
set bmargin 0
set lmargin 10
set rmargin 3
set style line 1 lc rgb '#8b1a0e' pt 1 ps 1 lt 1 lw 2 # --- red
set style line 2 lc rgb '#5e9c36' pt 6 ps 1 lt 1 lw 2 # --- green
set style line 11 lc rgb '#808080' lt 1
set border 3 back ls 11
set tics nomirror
set style line 12 lc rgb '#808080' lt 0 lw 1
set grid back ls 12
set xtics 60 font ",8"
set xtics nomirror out
set grid xtics ytics
set key bottom right font ",7"
set multiplot layout 2,1
set size ratio 0
set title "PID Controller"
set bmargin at screen 0.55
set ytics nomirror
set ytics out font ",8"
set tmargin 2
set yrange [0:275]
set ylabel "Temp (°C)"
plot "e1.csv" using ($1):($2/10) with lines title "Commanded Temp" ls 1, \
"e1.csv" using 1:($3/10) with lines title "Actual Temp" ls 2
#
unset title
set key top right
unset ylabel
set yzeroaxis
set yrange [-1100:1100]
set ytics nomirror out
set xtics nomirror out
set y2range [-5:105]
set ylabel " "
set bmargin at screen 0.08
plot "e1.csv" using ($1):($4) with lines title "P" lt 4, \
"e1.csv" using ($1):($5) with lines title "I" lt 5, \
"e1.csv" using ($1):($6) with lines title "D" lt 7, \
"e1.csv" using ($1):($7/10) axes x1y2 with lines title "Output" lt 3
unset multiplot
set output
You can’t perform that action at this time.