Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/switch2gridplot #9

Merged
merged 11 commits into from
Jul 3, 2024
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ session.inp
*.lyx~
*.gp
string_table.txt
*.png
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ The user can control the following aspects by adding the respective parameter to
- `fontsize`: int, Control the font size of the labels (default: 16) .
- `grid`: bool, Draw a grid in the background if TRUE (=1) (default: FALSE)
- `height`: scalar, Height of the canvas plot (default: 600).
- `title`: string: set an overall title for the plot(s).
- `key`: bool, If the `factor` series is provided, a legend shows the color and point pattern for each distinct value of the `factor` variable. Default: 1 (TRUE).
- `key_fontsize` int, Control the font size for the key. Default: 14
- `key_position`: string, Controls the position of the legend in each subplot (use standard gnuplot options). default: "top left".
Expand All @@ -65,8 +66,16 @@ The user can control the following aspects by adding the respective parameter to
- `use_circles`: bool, Draw circles instead of points if set to 1 (TRUE), default: 0 (FALSE).
- `width`: scalar, Width of the canvas plot (default: 900).


# Changelog

* **v0.99 (Jule 2024)**
* Add new parameter `title` for setting an overall title
* Internal refactoring: Switch to gretl's built-in gridplot aparatus which means that all the graphics file formats supported by gretl can be used.
* It also means that usage via gretlcli in "display" mode works.
* In case the user's specification calls for just a single plot, no "multiplot" is created.
* The graphical interface is enhanced, with more options.

* **v0.98 (April 2024)**
* Make width, height, fontsizes and pointsize a function of the number of variables for better readability in case of many variables.
* Set parameter `transparency per default to 90.
Expand Down
6 changes: 4 additions & 2 deletions run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
set -e

DIR=$(dirname $(realpath "$0")) # locate folder where this sh-script is located in
SCRIPT="./tests/run_tests.inp"
SCRIPT_1="./tests/run_tests.inp"
SCRIPT_2="./tests/pngtests.inp"
PROJECT="PairPlot"

cd $DIR
echo "Switched to ${DIR}"

gretlcli -b -e -q ${SCRIPT}
gretlcli -b -e -q ${SCRIPT_1}
gretlcli -b -e -q ${SCRIPT_2}

if [ $? -eq 0 ]
then
Expand Down
Loading