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

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

[Octave-bug-tracker] [bug #44283] crash / hang-up during export to svg v


From: anonymous
Subject: [Octave-bug-tracker] [bug #44283] crash / hang-up during export to svg via print
Date: Tue, 17 Feb 2015 09:28:29 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:35.0) Gecko/20100101 Firefox/35.0

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

                 Summary: crash / hang-up during export to svg via print
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Di 17 Feb 2015 09:28:28 UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: Niko K.
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.2
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Hello!

I've repeatedly tried to export my figures to svg files.

Every time there is a hang-up / crash when I'm using the following command


  figure(1);
  hold on;
  grid on;
  plot(TAXIS,Avref(:,2),".","color",[1 0 0],TAXIS,Avsec(:,2),"-","color",[0.8
0 0]);
#  plot(TAXIS(a-8192:a),Avref(a-8192:a,2),"color",[1 0
0],TAXIS(a-8192:a),Avsec(a-8192:a,2),"color",[0.8 0 0]);
  xlabel('time [s]');
  ylabel('x-comp [nT]');
  print("./outfiles/DIFFERENCES.svg","-F:24","-S2048,1536");


a the lengths of the vectors are 864000, of the vector(s) Avref and Avsec.
TAXIS is just a linearly increasing time axis.

During export of SVG file the file itself is generated but keeps size 0 kByte
- I've waited 15 min, no change - Octave itself hangs and can only be stopped
by pressing repeatedly CTRL+C. Happens ind GUI as well as terminal versions.

I've tried this in Octave 3.8.1 as well as Octave 3.8.2. Same results.

Then I tried to reduce the amounts of data points for debugging. with the
following commands.


  figure(1);
  hold on;
  grid on;
#  plot(TAXIS,Avref(:,2),".","color",[1 0 0],TAXIS,Avsec(:,2),"-","color",[0.8
0 0]);
  plot(TAXIS(a-8192:a),Avref(a-8192:a,2),"color",[1 0
0],TAXIS(a-8192:a),Avsec(a-8192:a,2),"color",[0.8 0 0]);
  xlabel('time [s]');
  ylabel('x-comp [nT]');
  print("./outfiles/DIFFERENCES.svg","-F:24","-S2048,1536");


With this parameters the export worked.
Worked with this parameters too:


  figure(1);
  hold on;
  grid on;
#  plot(TAXIS,Avref(:,2),".","color",[1 0 0],TAXIS,Avsec(:,2),"-","color",[0.8
0 0]);
  plot(TAXIS(a-8192:a),Avref(a-8192:a,2),'.',"color",[1 0
0],TAXIS(a-8192:a),Avsec(a-8192:a,2),'-',"color",[0.8 0 0]);
  xlabel('time [s]');
  ylabel('x-comp [nT]');
  print("./outfiles/DIFFERENCES.svg","-F:24","-S2048,1536");



If tried this many times with multiples of 2^n.
But only if the length is smaller than 8192 the output works.
8192 equals to 2^13 if I'm correct?

Is there a limitation inbound in the print command when using svg file
export?

All other operations with those vectors react as usual. 

Greets


Niko




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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