[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55713] meshc throws an error with Octave 5.00
From: |
Stephan Gebauer |
Subject: |
[Octave-bug-tracker] [bug #55713] meshc throws an error with Octave 5.00.91 |
Date: |
Thu, 14 Feb 2019 15:44:34 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0 |
URL:
<https://savannah.gnu.org/bugs/?55713>
Summary: meshc throws an error with Octave 5.00.91
Project: GNU Octave
Submitted by: stephan_ii
Submitted on: Thu 14 Feb 2019 08:44:33 PM UTC
Category: Plotting
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 5.0.91
Operating System: Microsoft Windows
_______________________________________________________
Details:
Hi,
i have testet a peace of code works well with Octave 4.4.1, but
gives an error message with Octave 5.00.91.
Here the Code:
N = 25; % frame count for the movie
[X,Y]=meshgrid(-pi:.1:pi); % generate grid
for t=1:N
f=cos(X-t*pi/N).*sin(Y-t*pi/N); % test function
meshc(X,Y,f); % Plot
xlim([-pi,pi]);
ylim([-pi,pi]);
xlabel('x');
ylabel('y');
zlabel('f');
title('Evolution der Funktion f(x,y,t)=cos(x-(t\pi)/N)sin(y-(t\pi)/N)');
colorbar;
pause(0.05);
M(:,t) = getframe(gcf); % Save the current Frame in M
end
from the second pass of the for loop the meshc(X,Y,f) cause this error message
with
each pass:
debug>
error: get: invalid handle (= -64.2043)
execution error in graphics callback function
error: get: invalid handle (= -31.1792)
execution error in graphics callback function
.
.
.
nevertheless the code works, means M stores the frames as it should do.
Just the error is thrown in the command line.
Otave runs under Windows 10.
Hope its helpful!
Best regards
Stephan
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55713>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #55713] meshc throws an error with Octave 5.00.91,
Stephan Gebauer <=