|
From: | Ingmar K |
Subject: | [Octave-bug-tracker] Octave - plotting bug when plotting broken rational functions |
Date: | Tue, 06 Nov 2012 10:43:45 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 |
Dear Sir / Madam,when using Octave to plot broken-rational functions like f(x)=(3x+3)/(-4x+2) Octave gives out a false plot. I put the octave-plot into the attachment and into a second attachment I put the plot how it should look (plotted with Maxima). Thing is, Octave plots broken-rational functions with a vertical line from infinity to -infinity. But that line mustn't be there. This is quite interessting, because I think Maxima and Octave are both using GnuPlot to plot graphes. There might be a handler problem, when giving the function to be plotted from Octave to GnuPlot.
Additional for your information: I use the following system: Windows 7 Home Preimum in 64bit. Windows 7 is a host-system for Linux Ubuntu 12.04LTS. For hosting I use Oracle VM VirtualBox 4.1.10. For typing in Octave I use QtOctave version 0.10.1 (which has quite a good MatLab-feeling, good work, indeed). Tests with typing in Gedit and then compiling show the same result.
Regards, Ingmar Klugert
Graph_Maxima.png
Description: PNG image
Graph_Octave.png
Description: PNG image
[Prev in Thread] | Current Thread | [Next in Thread] |