Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'graphs in a Do loop' topicStudent Support Forum > General > Archives > "graphs in a Do loop"

Next Comment >Help | Reply To Topic
Author Comment/Response
Greg Colbourn
10/01/07 06:54am

Hi,

When I try and plot multiple graphs in a Do loop I see no output (i.e. no graphs are displayed on the screen) - even when I use Show, and DisplayFunction -> $DisplayFunction. This is my code.

Do[

dataset2 =
Table[{data4[[1, i]], data4[[k, i]]}, {i, 2,
Length[data4[[1]]] - 1}];

Show[ListLogLogPlot[{dataset1, dataset2}, ImageSize -> {600, 400},
FrameLabel -> {"x", "Temp (deg C)", "", "pCO2 (ppmv)"},
PlotLabel -> "Combining Scaled Graphs", Joined -> True,
DisplayFunction -> $DisplayFunction],
DisplayFunction -> $DisplayFunction],

{k, 2, nruns}]

Can anyone help?

URL: ,

Subject (listing for 'graphs in a Do loop')
Author Date Posted
graphs in a Do loop Greg Colbourn 10/01/07 06:54am
Re: graphs in a Do loop yehuda ben-s... 10/02/07 07:10am
Next Comment >Help | Reply To Topic