octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #33765] (fltk) linestyles not respected for pr


From: J Edwards
Subject: [Octave-bug-tracker] [bug #33765] (fltk) linestyles not respected for print
Date: Tue, 30 Aug 2011 06:14:00 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110621 Fedora/3.6.18-1.fc14 Firefox/3.6.18

Follow-up Comment #1, bug #33765 (project octave):

Just wanted to point out that none of the following seem to work either:


saveas(gcf,'test') #=> test.pdf
print -color -dpng test.png
print -color -deps test.eps
print -color -dsvg test.svg
print -color -depsc2 test2.eps
print -color -dpng -dashed test-dashed.png
print -color -deps -dashed test-dashed.eps
print -color -depsc2 -dashed test2-dashed.eps


Also note that neither dotted (":") nor dashed ("--") linestyles appear in the
generated files (they appear solid), while they both appear correctly in the
plot displayed on the screen.

A simple test program might be:

clear all
close all
clc

X = linspace(0,2*pi,1000);
Y1 = sin(X);
Y2 = cos(X);

graphics_toolkit('fltk')

# Initialize both lines as dashed
plot(X,[Y1;Y2],'LineStyle','--')

# Change one line to dotted
lh = get(gca,'Children');
set(lh(2),'LineStyle',':')

saveas(gcf,'sincos')    # sincos.pdf : both lines are solid
print -dpng sincos.png  # sincos.png : both lines are solid
# ... etc


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33765>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]