I have the following code

GraphIt[n, n2, IR, #] &/@ vanishpts

where the function GraphIt print something, and returns a graph. I don't want my outputs to be collected in a set, because I need the correct sequential correspondence between the things being printed and the graphs returned in each run.

Is there anyway to do this? Scan seemingly does this, but it discards the graphs.

  • 1
    $\begingroup$ If you write GraphIt[n, n2, IR, #]; &/@ vanishpts your output is not collected, instead Null are collected. (Note the semicolon) $\endgroup$ Aug 7 '21 at 9:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.