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: Wed, 04 Feb 2015 21:39:06 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15

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

                 Summary: Bugs and modifications in print() with gnuplot
graphics toolkit
                 Project: GNU Octave
            Submitted by: sebald
            Submitted on: Wed 04 Feb 2015 09:39:05 PM GMT
                Category: Plotting with gnuplot
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Dan Sebald
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

I will submit a changeset having a number of bug fixes in the graphics toolkit
for printing.

1) There are several printf errors whereby a float is passed into an octal
formatted number.

2) There are several strings for the parse options which are incorrectly
accessed using curly parentheses rather than round parentheses.

3) The "mono" setting is passed into the graphics toolkit so that gnuplot can
make the decision about what is format strings to create.

4) I've changed the default setting to "color" for PostScript.  I'd much
prefer a printed output that looks similar to what the default figure plot
appears.

5) I've overridden the "png16m" and "pdfwrite" behaviors so that gnuplot does
"png" and "pdf" if possible.  I prefer gnuplot doing the "-dpng" option as
opposed to creating an EPS figure and then some translation utility to create
a PNG file.  PNG fonts are something more suited for bitmap graphics (easier
to read) than would-be scalable fonts (EPS) transformed to bitmap.  The
plot-to-postscript-to-png technique is something that can be done by the user
if they like.  I think that the exact implementation of these:


function aliases = gs_aliases ();
  ## Aliases for other devices: "bmp", "png", "tiff", "tiffn", "pdf",
  ##                            "ps", "ps2", "psc", "psc2"


file formats should be done at the toolkit level and not the print() level.




    _______________________________________________________

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]