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

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

[Octave-bug-tracker] [bug #44187] Bugs and modifications in print() with


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #44187] Bugs and modifications in print() with gnuplot graphics toolkit
Date: Sat, 21 Feb 2015 02:46:42 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15

Follow-up Comment #17, bug #44187 (project octave):

Not having publication-quality graphical output isn't a 4.0 blocker?  The new
plotting graphics and approach of running everything through a postscript
converter doesn't make the grade.  Look at a PNG file; lines are inconsistent,
fonts are almost illegible.  Latex output formats aren't working.

And the gnuplot toolkit currently has, along with the
everything-through-postscript approach, enough bugs to render it practically
unusable for graphical output.

Please try the following test script and closely examine the results as the
external programs appear:


gtlk = {'fltk', 'gnuplot'};
opt = {'', '-mono', '-color'};
for i=1:length(gtlk)
  graphics_toolkit (gtlk{i});
  figure(i);
  plot([1:34].^2);
  set(gca, 'color', [0.5 1 0.5]);
  for j=1:length(opt)
    fname = ['footest' opt{j} '-' gtlk{i} '.png'];
    if isempty(opt{j})
      print (fname, '-dpng');
    else
      print (fname, '-dpng', opt{j});
    end
    system (['eog ' fname '; rm ' fname]);
  end
  for j=1:length(opt)
    fname = ['footest' opt{j} '-' gtlk{i} '.eps'];
    if isempty(opt{j})
      print (fname, '-deps');
    else
      print (fname, '-deps', opt{j});
    end
    system (['gv ' fname '; rm ' fname]);
  end
  if isequal(gtlk{i}, 'gnuplot')
    for j=1:length(opt)
      fname = ['footest-cairo' opt{j} '-' gtlk{i} '.png'];
      if isempty(opt{j})
        print (fname, '-dpngcairo');
      else
        print (fname, '-dpngcairo', opt{j});
      end
      system (['eog ' fname '; rm ' fname]);
    end
  end
end


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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