Re: Possible bug related with fit command and line style color



Daniel wrote:

I tried to display a graph showing the function that fits some data,
similarly as done in the fit.dem example. I noticed that, whenever I
do a fit and then try to plot a graph with customized line color, I
get the message "cb axis range undefined or overflow" and a black
graph is shown. When I clear the color setting, the graph works
again.

I can confirm the problem exists in 4.2.5
It seems to be fixed in the cvs source code for both 4.2 and 4.4,
although I don't see anything in the ChangeLog that immediately jumps
out as being related to this problem. So you should see a fixed version
in due course.

thanks for the report,

sfream (Ethan Merritt)




This behavior is easily reproducible for the fit.dem example, by
adding the line
set style line 1 lc rgb "#00FFFF"
before the first fit command, and adding "ls 1" to :
set title 'all fit params set to 0'
plot 'lcdemo.dat', l(x) ls 1
and:
set title 'unweighted fit'
plot 'lcdemo.dat', l(x) ls 1

Observe that the first plot is shown as expected with the changed
color. But the second one fails, although the command is identical to
the first one.

Using:
gnuplot> show version
G N U P L O T
Version 4.2 patchlevel 5
last modified Mar 2009
System: MS-Windows 32 bit

Copyright (C) 1986 - 1993, 1998, 2004, 2007 - 2009
Thomas Williams, Colin Kelley and many others

.



Relevant Pages

  • Possible bug related with fit command and line style color
    ... I tried to display a graph showing the function that fits some data, ... do a fit and then try to plot a graph with customized line color, ... before the first fit command, ...
    (comp.graphics.apps.gnuplot)
  • Re: Plotting Graphs + Bestfit lines
    ... made on the graph. ... Only the 3 plot lines show up. ...
    (comp.lang.python)
  • Re: [opensuse] Lies, damned lies and statistics
    ... Recently we have done a poll around the office. ... line with bash/sed/awk and then produce graphs from that, then spline, graph ... GNU 'plot' is then called to display a graph on the screen: ...
    (SuSE)
  • Help needed in ploting graphs in GUI
    ... I am trying to make a graph in the GUI which plots itself ... when the user pushes a pushbutton. ... plot the current data as well as the previous data. ...
    (comp.soft-sys.matlab)
  • Problem with sin/cos of complex signal
    ... You'll see if you run it that the signal appears to graph ok in both real and imaginary, but the sin and cosine don't appear to have anything to do with the signal itself. ... %LAB1_SEC3.1_SOURCE_CODE quick script to run part of lab 1 ... plot; ... title('Imaginary Sample Data, Lab 1 Section 3.1'); ...
    (comp.soft-sys.matlab)

Loading