diff --git a/examples/advanced/example_dual_axis_from_file.gle b/examples/advanced/example_dual_axis_from_file.gle new file mode 100644 index 0000000..4571205 --- /dev/null +++ b/examples/advanced/example_dual_axis_from_file.gle @@ -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 \ No newline at end of file diff --git a/examples/advanced/example_errorbar_from_file.gle b/examples/advanced/example_errorbar_from_file.gle new file mode 100644 index 0000000..4283658 --- /dev/null +++ b/examples/advanced/example_errorbar_from_file.gle @@ -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 diff --git a/examples/advanced/secondary_yaxis_circuit.gle b/examples/advanced/secondary_yaxis_circuit.gle new file mode 100644 index 0000000..65ec0ef --- /dev/null +++ b/examples/advanced/secondary_yaxis_circuit.gle @@ -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 \ No newline at end of file diff --git a/examples/advanced/secondary_yaxis_errorbar.gle b/examples/advanced/secondary_yaxis_errorbar.gle new file mode 100644 index 0000000..477d6a1 --- /dev/null +++ b/examples/advanced/secondary_yaxis_errorbar.gle @@ -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 \ No newline at end of file diff --git a/examples/advanced/secondary_yaxis_growth.gle b/examples/advanced/secondary_yaxis_growth.gle new file mode 100644 index 0000000..197c277 --- /dev/null +++ b/examples/advanced/secondary_yaxis_growth.gle @@ -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 \ No newline at end of file diff --git a/examples/advanced/secondary_yaxis_temp_humidity.gle b/examples/advanced/secondary_yaxis_temp_humidity.gle new file mode 100644 index 0000000..580e1a5 --- /dev/null +++ b/examples/advanced/secondary_yaxis_temp_humidity.gle @@ -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 \ No newline at end of file diff --git a/examples/example_errorbar_from_file.gle b/examples/example_errorbar_from_file.gle new file mode 100644 index 0000000..4283658 --- /dev/null +++ b/examples/example_errorbar_from_file.gle @@ -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