ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

graph plot plots <= 200 points -- why?


From: Garret Brady
Subject: graph plot plots <= 200 points -- why?
Date: Thu, 7 Feb 2002 10:55:37 +0000 (GMT)

I'm running DDD 3.1.1 (i686-pc-linux-gnu).  Ddd saves my life on a
daily basis: however, I seem unable to plot more than 200 entries
from an array at a time.  For instance,

hithere.c:
1 int main() {
2   int a[500], i ;
3   for (i=0; i<500; i++) a[i] = i*3 ;
4   return 0 ;
5 }

Executing

graph plot address@hidden

at line 4 results in a lovely gnuplot graph with only 200 points.  The log
looks like

-> "frame\n"
<- "#0  main () at hithere.c:7\n"
   
"\032\032/home/gbrady/mdl/prod/evian2/3-pole-pitch/4lagrange/hithere.c:7:77:beg:0x80483f1\n"
   "(gdb) "
-> "display address@hidden"
<- "2: *a @ 300 = {0, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45,
48, 51, 54, 57, 60, 63, 66, 69, 72, 75, 78, 81, 84, 87, 90, 93, 96, 99, 102,
105, 108, 111, 114, 117, 120, 123, 126, 129, 132, 135, 138, 141, 144, 147,
150, 153, 156, 159, 162, 165, 168, 171, 174, 177, 180, 183, 186, 189, 192,
195, 198, 201, 204, 207, 210, 213, 216, 219, 222, 225, 228, 231, 234, 237,
240, 243, 246, 249, 252, 255, 258, 261, 264, 267, 270, 273, 276, 279, 282,
285, 288, 291, 294, 297, 300, 303, 306, 309, 312, 315, 318, 321, 324, 327,
330, 333, 336, 339, 342, 345, 348, 351, 354, 357, 360, 363, 366, 369, 372,
375, 378, 381, 384, 387, 390, 393, 396, 399, 402, 405, 408, 411, 414, 417,
420, 423, 426, 429, 432, 435, 438, 441, 444, 447, 450, 453, 456, 459, 462,
465, 468, 471, 474, 477, 480, 483, 486, 489, 492, 495, 498, 501, 504, 507,
510, 513, 516, 519, 522, 525, 528, 531, 534, 537, 540, 543, 546, 549, 552,
555, 558, 561, 564, 567, 570, 573, 576, 579, 582, 585, 588, 591, 594,
597...}\n"
   "(gdb) "
#  Creating display...
#  Creating display...done.
>> "set term xlib\n"
   "set parametric\n"
   "set urange [0:1]\n"
   "set vrange [0:1]\n"
   "set trange [0:1]"
>> "set noborder\n"
   "plot \"/tmp/dddvQ2hiy\" title \"*a @ 300\""
#  Display 2: *a @ 300 (enabled, scope main)
#  Display 2: *a @ 300 (enabled, scope main)
#  Retrieving Plot Settings...
>> "save \"/tmp/dddbDhRaB\""
#  Retrieving Plot Settings...done.


Any thoughts?
g

-- 
Garret D. Brady -----------------------------------------------
Magnetics & Machines Group, University College Dublin, Ireland.
http://elecmag3.ucd.ie/~gbrady             Tel: +353-1-716-1847




reply via email to

[Prev in Thread] Current Thread [Next in Thread]