Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions examples/advanced/example_dual_axis_from_file.gle
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
! GLE graphics file
! Generated by gleplot

size 25.4 15.24
set hei 0.42328

begin graph
scale auto
title "Climate Data - Dual Axis from File"
xtitle "Month"
ytitle "Temperature (°C)"
y2title "Humidity (%)"
data climate_data.dat d1=c1,c2 d2=c1,c3
d1 marker FCIRCLE msize 0.15 color BLUE err d2 errwidth 0.1059 key "Temperature"
data climate_data.dat d3=c1,c4 d4=c1,c5
d3 marker FSQUARE msize 0.15 color RED err d4 errwidth 0.1059 y2axis key "Humidity"
key pos tr
end graph
30 changes: 30 additions & 0 deletions examples/advanced/example_errorbar_from_file.gle
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
! GLE graphics file
! Generated by gleplot

size 20.32 25.4
set hei 0.42328

amove 1.5 12.85
begin graph
size 18.32 11.35
scale 1 1
title "Experimental Data from File"
ytitle "Resistance (Ω)"
xaxis nolast
xlabels off
data experimental_data.dat d1=c1,c2 d2=c1,c3
d1 marker FCIRCLE msize 0.125 color BLUE err d2 errwidth 0.1059 key "Resistance"
key pos tr
end graph

amove 1.5 1.5
begin graph
size 18.32 11.35
scale 1 1
xtitle "Temperature (K)"
ytitle "Voltage (V)"
yaxis nolast
data experimental_data.dat d3=c1,c4 d4=c1,c5
d3 marker FSQUARE msize 0.125 color RED err d4 errwidth 0.1059 key "Voltage"
key pos tr
end graph
22 changes: 22 additions & 0 deletions examples/advanced/secondary_yaxis_circuit.gle
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
! GLE graphics file
! Generated by gleplot

size 25.4 15.24
set hei 0.42328

begin graph
scale auto
title "AC Circuit: Voltage and Current vs Time"
xtitle "Time (s)"
ytitle "Voltage (V)"
y2title "Current (A)"
data data_4.dat d1=c1,c2
d1 line smooth color RED lwidth 0.07056 key "Voltage 1"
data data_5.dat d2=c1,c2
d2 line smooth color DARKRED lwidth 0.07056 lstyle 2 key "Voltage 2"
data data_6.dat d3=c1,c2
d3 line smooth color BLUE lwidth 0.07056 y2axis key "Current 1"
data data_7.dat d4=c1,c2
d4 line smooth color DARKBLUE lwidth 0.07056 lstyle 2 y2axis key "Current 2"
key pos tr
end graph
18 changes: 18 additions & 0 deletions examples/advanced/secondary_yaxis_errorbar.gle
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
! GLE graphics file
! Generated by gleplot

size 25.4 15.24
set hei 0.42328

begin graph
scale auto
title "Dual-Axis Measurements with Error Bars"
xtitle "Sample Number"
ytitle "Measurement A (units)"
y2title "Measurement B (units)"
data data_8.dat d1=c1,c2
d1 marker FCIRCLE msize 0.3 color ORANGE key "Measurement A"
data data_9.dat d2=c1,c2 d3=c1,c3
d2 marker FCIRCLE msize 0.2 color BLACK line lwidth 0.05292 err d3 errwidth 0.1765 y2axis key "Measurement B"
key pos tr
end graph
19 changes: 19 additions & 0 deletions examples/advanced/secondary_yaxis_growth.gle
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
! GLE graphics file
! Generated by gleplot

size 25.4 15.24
set hei 0.42328

begin graph
scale auto
title "Comparing Growth Rates"
xtitle "x"
ytitle "x²"
y2title "eˣ"
y2axis log
data data_2.dat d1=c1,c2
d1 line smooth color GREEN lwidth 0.07056 key "Quadratic: x²"
data data_3.dat d2=c1,c2
d2 line smooth color PURPLE lwidth 0.07056 y2axis key "Exponential: eˣ"
key pos tr
end graph
20 changes: 20 additions & 0 deletions examples/advanced/secondary_yaxis_temp_humidity.gle
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
! GLE graphics file
! Generated by gleplot

size 25.4 15.24
set hei 0.42328

begin graph
scale auto
title "Daily Temperature and Humidity"
xtitle "Day of Month"
ytitle "Temperature (°C)"
y2title "Humidity (%)"
yaxis min 10 max 30
y2axis min 30 max 90
data data_0.dat d1=c1,c2
d1 line smooth color RED lwidth 0.07056 key "Temperature"
data data_1.dat d2=c1,c2
d2 line smooth color BLUE lwidth 0.07056 y2axis key "Humidity"
key pos tr
end graph
30 changes: 30 additions & 0 deletions examples/example_errorbar_from_file.gle
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
! GLE graphics file
! Generated by gleplot

size 20.32 25.4
set hei 0.42328

amove 1.5 12.85
begin graph
size 18.32 11.35
scale 1 1
title "Experimental Data from File"
ytitle "Resistance (Ω)"
xaxis nolast
xlabels off
data experimental_data.dat d1=c1,c2 d2=c1,c3
d1 marker FCIRCLE msize 0.125 color BLUE err d2 errwidth 0.1059 key "Resistance"
key pos tr
end graph

amove 1.5 1.5
begin graph
size 18.32 11.35
scale 1 1
xtitle "Temperature (K)"
ytitle "Voltage (V)"
yaxis nolast
data experimental_data.dat d3=c1,c4 d4=c1,c5
d3 marker FSQUARE msize 0.125 color RED err d4 errwidth 0.1059 key "Voltage"
key pos tr
end graph
Loading