MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How to subtract two sets of data for a ListPlot


Hey guys.  I can't believe I got it:

list3 = MapThread[({#1[[1]], #1[[2]] - #2[[2]]}) &, {list1, list2}]

I figured it out by studying the posts here.  This is a great place to learn how to program Mathematica!


  • Prev by Date: Re: How to subtract two sets of data for a ListPlot
  • Next by Date: Style Sheets in Version 6.0
  • Previous by thread: Re: How to subtract two sets of data for a ListPlot
  • Next by thread: Re: How to subtract two sets of data for a ListPlot