How to display simple x-y graph during debugging?

How to display simple x-y graph during debugging?

I am using VS2005 with Intel Composer XE (i e, IVF). I set a breakpoint in my code, and when execution stops there, I want to show a plot of my array, d. The array is allocated as d(2048,499,3), but what I want to see plotted is d(1:2048,1,1) vs the first dimension. After I get this working, I will want to plot d(i,1,1) vs x(i,1) for i=1..2048.

At the breakpoint, I invoke array visualizer through the context menu, then array viewer through the context menu. This brings up a viewer window with Path="/d", F(x)="d(1,1,1)=-2.16...", and a spreadsheet of values, where the column is the first dimension and the row is the second. Choosing d_heightPlot in the navigation pane displays something that looks like a plot of part of the data.

How can I produce a simple plot of d(i,1,1) vs i, for specified range of i?

1 post / novo 0
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.