Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Iterating through subscripts?' topicStudent Support Forum > General > "Iterating through subscripts?"

Next Comment >Help | Reply To Topic
Author Comment/Response
TheElder777
08/21/12 03:37am

hi all. Here is part of my code:

Clear[T]
For[xx = 10^14, xx <= 10^18, xx = xx*10,
For[yy = 1, yy < 9, yy++,
Subscript[list,
xx] = {Table[y, {y, 200, 500, 50}],
With[{N = xx}, Table[\[Mu]e[N], {T, 200, 500, 50}]]};
Subscript[alist, xx] = Transpose[Subscript[list, xx]]
]
]

And so I have a bunch of matrices (specifically 5) that I would like to plot using ListPlot. I could plot them Like this:
ListLogLogPlot[{Subscript[alist, 10^14], Subscript[alist, 10^15],
Subscript[alist, 10^16], Subscript[alist, 10^17], Subscript[alist,
10^18]}

However, I was wondering if there is a better way to do this, maybe through iteration? I have tried many times but with no positive outcome. Anyone?

URL: ,

Subject (listing for 'Iterating through subscripts?')
Author Date Posted
Iterating through subscripts? TheElder777 08/21/12 03:37am
Re: Iterating through subscripts? Bill Simpson 08/22/12 5:08pm
Re: Re: Iterating through subscripts? TheElder777 08/23/12 7:18pm
Next Comment >Help | Reply To Topic