[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #42194] No output from saveas() command
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #42194] No output from saveas() command |
Date: |
Fri, 25 Apr 2014 08:59:27 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/34.0.1847.116 Chrome/34.0.1847.116 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?42194>
Summary: No output from saveas() command
Project: GNU Octave
Submitted by: None
Submitted on: Fri 25 Apr 2014 08:59:26 AM UTC
Category: Plotting
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: David Blackman
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 3.8.1
Operating System: GNU/Linux
_______________________________________________________
Details:
Hi, I've tried a number of different commands to save a plot, this script
worked in the previous version I had installed (3.6.4) but not longer works in
the newer 3.8.1 version.
I simply get no output at all, no file and no error displayed. Also when the
graph plot window is set to "visible" the window suffers graphically glitches
and won't respond to clicks or any input.
function dostuff()
i = 0;
col = ["r","g","b","k","5","6","y"];
mass = 20*(1.66e-27);
var2 = load("Velpertd.txt");
j=figure(1)#,"visible","off");
plot(var2(:,1)+27,var2(:,3)/1e6,"-m","linewidth",3);
hold;
x = 1;
for i = 2:1:8;
filname = strcat(num2str(i),"pi__10.dat");
var = load(filname);
type = strcat("-",col(x));
plot(var(:,1)*1e6,(var(:,2)/mass)/1e6,type,"linewidth",3);
x=x+1;
endfor
xlabel("x position in microns");
ylabel("Velocity (10^{6}ms^{-1})");
tit = strcat("Ion velocity perturbation at t = 100fs for varying
ionisations");
title(tit);
axis([25,35,0,1]);
grid('on');
set(gca(),'xtick',25:0.5:35);
set(gca(),'ytick',0:0.1:1);
h = legend("Perturbation Used","2","3","4","5","6","7","8");
legend location northeast;
#outfilnam=strcat("");
hold
saveas(j,"AApxim100.png","png")
endfunction
dostuff()
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 25 Apr 2014 08:59:26 AM UTC Name: 100fsplot.m Size: 884B By:
None
<http://savannah.gnu.org/bugs/download.php?file_id=31245>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?42194>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #42194] No output from saveas() command,
anonymous <=