Skip to main content
deleted 2 characters in body
Source Link
corey979
  • 24.3k
  • 7
  • 60
  • 105

I have a data file from which I import data to lists,

list1 = Import["path", "Table"]

it returns asa list in the following form,

list1 = {{9,2.5},{2,3.5},{3,4.5},....}

Now if I have an another list2list2 which is of same length as list1list1. whenWhen I triedtry

list2-list1

I get

{{0,xx},{0,yy},{0,zz},...}

But, I would like to make a difference plot difference plot (list2-list1) vs whole numbers(9, 2,3) (9, 2, 3).

How do I do this?

I have a data file from which I import data to lists,

list1 = Import["path","Table"]

it returns as list in the following form,

list1 = {{9,2.5},{2,3.5},{3,4.5},....}

Now if I have an another list2 which is of same length as list1. when I tried

list2-list1

I get

{{0,xx},{0,yy},{0,zz}}

But, I would like to make a difference plot (list2-list1) vs whole numbers(9, 2,3).

How do I do this?

I have a data file from which I import data to lists,

list1 = Import["path", "Table"]

it returns a list in the following form,

list1 = {{9,2.5},{2,3.5},{3,4.5},....}

Now I have another list2 which is of same length as list1. When I try

list2-list1

I get

{{0,xx},{0,yy},{0,zz},...}

But, I would like to make a difference plot (list2-list1) vs whole numbers (9, 2, 3).

How do I do this?

added 33 characters in body
Source Link
user9660
user9660

I have a data file from which I import data to lists, list1 = Import["path","Table"] it

list1 = Import["path","Table"]

it returns as list in the following form , list1 = {{9,2.5},{2,3.5},{3,4.5},....} Now

list1 = {{9,2.5},{2,3.5},{3,4.5},....}

Now if I have an another list2 which is of same length as list1. when I tried list2-list1,

list2-list1

I get {{0,xx},{0,yy},{0,zz}}

{{0,xx},{0,yy},{0,zz}}

But, I would like to make a difference plot (list2-list1)difference plot (list2-list1) vs whole numbers(9, 2,3).

How do I do this?

I have a data file from which I import data to lists, list1 = Import["path","Table"] it returns as list in the following form , list1 = {{9,2.5},{2,3.5},{3,4.5},....} Now if I have an another list2 which is of same length as list1. when I tried list2-list1, I get {{0,xx},{0,yy},{0,zz}}

But, I would like to make a difference plot (list2-list1) vs whole numbers(9, 2,3).

How do I do this?

I have a data file from which I import data to lists,

list1 = Import["path","Table"]

it returns as list in the following form,

list1 = {{9,2.5},{2,3.5},{3,4.5},....}

Now if I have an another list2 which is of same length as list1. when I tried

list2-list1

I get

{{0,xx},{0,yy},{0,zz}}

But, I would like to make a difference plot (list2-list1) vs whole numbers(9, 2,3).

How do I do this?

Source Link

Accessing the indices and operating on the elements of lists in Mathematica

I have a data file from which I import data to lists, list1 = Import["path","Table"] it returns as list in the following form , list1 = {{9,2.5},{2,3.5},{3,4.5},....} Now if I have an another list2 which is of same length as list1. when I tried list2-list1, I get {{0,xx},{0,yy},{0,zz}}

But, I would like to make a difference plot (list2-list1) vs whole numbers(9, 2,3).

How do I do this?