[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with print
From: |
Alois Schloegl |
Subject: |
Re: Problem with print |
Date: |
Tue, 5 Dec 2017 12:13:21 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
On 2017-12-04 18:25, Clinton Winant wrote:
> ubuntu 16.04, octave 4.2.1
> This script produces a screen image with two circles side-by side:
>
> clear;
> t=linspace(0,2*pi,181);x=cos(t);y=sin(t);
> axes("position",[0.01,0.015,0.48,0.97]);
> plot(x,y,'linewidth',2)
> axis off;box off;
> axes("position",[0.51,0.015,0.48,0.97]);
> plot(x,y,'linewidth',2)
> axis off;box off
> print -dpdf TestPrint2.pdf
>
> A screenshot is attached showing the image as expected. The print command
> produces a pdf file (also attached) that only shows the left hand circle??
>
> Thanks so much!
>
>
When the default
graphics_toolkit
(in my case it's fltk) is set, I can reproduce the problem on Debian 9,
compiled from source.
When you change to gnuplot
close all;
graphics_toolkit gnuplot
the above script will work.
Best,
Alois
signature.asc
Description: OpenPGP digital signature