[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch for error when performing simple plotting
From: |
Brett DiFrischia |
Subject: |
Patch for error when performing simple plotting |
Date: |
Thu, 13 Oct 2011 13:23:17 -0500 |
Hello,
I was having an issue when trying to plot two vectors:
error: /usr/share/octave/3.4.2/m/help/print_usage.m at line 87, column 5
error: /usr/share/octave/3.4.2/m/strings/strcat.m at line 92, column 5
error: /usr/share/octave/3.4.2/m/plot/__gnuplot_get_var__.m at line 113, column 11
error: /usr/share/octave/3.4.2/m/plot/__go_draw_axes__.m at line 40, column 18
error: /usr/share/octave/3.4.2/m/plot/__go_draw_figure__.m at line 167, column 19
error: /usr/share/octave/3.4.2/m/plot/__gnuplot_drawnow__.m at line 86, column 5
The attached patch fixed it for me. It would probably be better to prep strcat for a call with no arguments, but for now, this did the trick.
Hope this comes in handy.
Brett
-- bnd --
Sometimes I lie awake at night, and I ask, "Where have I gone wrong?"Then a voice says to me, "This is going to take more than one night."
- Charles M. Schulz
octave-str-error.diff
Description: Binary data