MathGroup Archive 2007

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

Search the Archive

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

  • To: mathgroup at smc.vnet.net
  • Subject: [mg76738] Re: How to subtract two sets of data for a ListPlot
  • From: chuck009 <dmilioto at comcast.com>
  • Date: Sat, 26 May 2007 04:45:49 -0400 (EDT)

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