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

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

[Octave-bug-tracker] [bug #56768] Problems with exporting a chart from a


From: Blbulyan David
Subject: [Octave-bug-tracker] [bug #56768] Problems with exporting a chart from a chart window.
Date: Tue, 20 Aug 2019 07:58:36 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #9, bug #56768 (project octave):

I used the menu item "File> Save As" for my charts, now, this is the output
for the item "File> Save":
>> close all
>> plot (1:10)
>> dbstop print
ans =  416
>> close all
>> plot (1:10)
>> dbstop print
ans =  416
>> stopped in /app/share/octave/5.1.0/m/plot/util/print.m at line 416
416:   opts = __print_parse_opts__ (varargin{:});
debug> varargin
varargin =
{
  [1,1] =  1
  [1,2] = /home/david/toto.pdf
  [1,3] = -dpdf
}
----
For the .svg file (I save through the "Save As" dialog):
>> close all
>> plot (1:10)
>> dbstostopped in /app/share/octave/5.1.0/m/plot/util/print.m at line 416
416:   opts = __print_parse_opts__ (varargin{:});
debug> varargin
varargin =
{
  [1,1] =  1
  [1,2] = /home/david/toto.svg
  [1,3] = -dsvg
}

debug> dbcont
Gtk-Message: 14:33:40.320: Failed to load module "canberra-gtk-module"
Gtk-Message: 14:33:40.341: Failed to load module "canberra-gtk-module"
----
For my script(.svg)(zatuhayuchie_colebania.m):
warning: legend: specifying location with a numeric argument is obsolete and
will be removed from a future version of Octave, use a string specification
instead
warning: called from
    legend at line 211 column 7
    zatuhayuchie_colebania at line 26 column 1
>> dbcontstopped in /app/share/octave/5.1.0/m/plot/util/print.m at line 416
416:   opts = __print_parse_opts__ (varargin{:});
debug> varargin
varargin =
{
  [1,1] =  2
  [1,2] = /home/david/Программы GNU Octave/zc.svg
  [1,3] = -dsvg
}

debug> dbcont
Usage:
octave-svgconvert infile fmt dpi font reconstruct outfile
Convert svg file to pdf, or svg. All arguments are mandatory:
* infile: input svg file or "-" to indicate that the input svg file should be
read from stdin
* fmt: format of the output file. May be one of pdf or svg
* dpi: device dependent resolution in screen pixel per inch
* font: specify a file name for the default FreeSans font
* reconstruct: specify wether to reconstruct triangle to polygons (0 or 1)
* outfile: output file name
error: gl2ps_renderer::draw: internal pipe error
error: parse error
error: called from
    __opengl_print__ at line 193 column 7
    print at line 710 column 16
    saveas at line 110 column 3
    __add_default_menu__>__save_as__ at line 145 column 7
    __add_default_menu__>save_cb at line 126 column 5
>>
----
For my script(.pdf)(zatuhayuchie_colebania.m):
>> stopped in /app/share/octave/5.1.0/m/plot/util/print.m at line 416
416:   opts = __print_parse_opts__ (varargin{:});
debug> varargin
varargin =
{
  [1,1] =  2
  [1,2] = /home/david/Программы GNU Octave/zc.pdf
  [1,3] = -dpdf
}

debug> dbcont
warning: print: only ASCII characters are supported for EPS and derived
formats.
warning: called from
    __opengl_print__ at line 193 column 7
    print at line 710 column 16
    saveas at line 110 column 3
    __add_default_menu__>__save_as__ at line 145 column 7
    __add_default_menu__>save_cb at line 126 column 5
----
The .pdf file for my script was saved, but without the Cyrillic alphabet
inside it, well, that is, there are no Russian signatures of units for axis
labels and there is no graph name.
I also noticed a bug that even if I explicitly choose another folder in the
"Save As" dialog, for some reason the folder is still selected
"/home/david/Программы GNU Octave/". I don’t know, maybe it’s
stuck, I will restart the octave and check.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56768>

_______________________________________________
  Сообщение отправлено по Savannah
  https://savannah.gnu.org/




reply via email to

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