[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62736] The function 'hold on' isn't working.
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #62736] The function 'hold on' isn't working. |
Date: |
Sat, 9 Jul 2022 23:26:28 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?62736>
Summary: The function 'hold on' isn't working.
Project: GNU Octave
Submitter: None
Submitted: Sun 10 Jul 2022 03:26:26 AM UTC
Category: Plotting
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error or Warning
Status: None
Assigned to: None
Originator Name: Daniel Cendales
Originator Email: dfcendalesgo@unal.edu.co
Open/Closed: Open
Release: 7.1.0
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sun 10 Jul 2022 03:26:26 AM UTC By: Anonymous
First of all, thank you for your help.
I'm trying to print two curves in the same graphic. This is the code
t = [0:0.01:0.98];
y1 = sin(8*pi*t);
y2 = cos(8*pi*t);
plot(t, y1);
hold on;
plot(t, y2);
The problem is that the second curve doesn't appear. Or if I try:
t = [0:0.01:0.98];
y1 = sin(8*pi*t);
plot(t, y1, 'r');
It doesn't show anything. I'm using octave version: 7.1.0 in a Ubuntu 20.04
based distro (bodhy linux).
If I try the same thing in other distro (Arch linux) it works!
I think that may be I'm missing some dependency, but can't figure it out what
is.
Thank you for your help. Note: I don't speak english, sorry if I said
something wrong
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62736>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #62736] The function 'hold on' isn't working.,
anonymous <=