From 7e9d9f094e61e6acbd3c0cc545df65645a966ab9 Mon Sep 17 00:00:00 2001 From: Cees Bassa Date: Mon, 31 Mar 2014 12:50:37 +0200 Subject: [PATCH] Using cpgpage instead of cperas to allow rescaling --- rfplot.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rfplot.c b/rfplot.c index 1f6f549..22b5ccf 100644 --- a/rfplot.c +++ b/rfplot.c @@ -109,6 +109,7 @@ int main(int argc,char *argv[]) cpgopen("/xs"); cpgctab(cool_l,cool_r,cool_g,cool_b,9,1.0,0.5); cpgsch(0.8); + cpgask(0); // Default limits xmin=0.0; @@ -128,7 +129,8 @@ int main(int argc,char *argv[]) // Forever loop for (;;) { if (redraw==1) { - cpgeras(); + // cpgeras(); + cpgpage(); cpgsci(1); cpgsvp(0.1,0.95,0.1,0.95);