50 reputation
5
bio website
location
age
visits member for 5 months
seen 3 hours ago
stats profile views 0

May
13
comment Scaling the x-axis in ListLogLogPlot[] or ListLogPlot[] in lieu of DataRange
Wow you're right. I happen to still have v8 installed so I loaded it up and checked. It looks like in v9 it no longer works. That's very strange.
May
13
comment Scaling the x-axis in ListLogLogPlot[] or ListLogPlot[] in lieu of DataRange
Ah that's a nifty little function that I wasn't familiar with. The issue still remains, though, that it would be a plot of {x,y} pairs which makes it take much longer.
May
13
asked Scaling the x-axis in ListLogLogPlot[] or ListLogPlot[] in lieu of DataRange
Jan
8
revised Renaming files of form FileName(i).csv to NewNamej(k).csv where j increments and k resets to 1 when there is a jump in i?
added 275 characters in body
Jan
8
comment Renaming files of form FileName(i).csv to NewNamej(k).csv where j increments and k resets to 1 when there is a jump in i?
Thanks @cormullion that did the trick.
Jan
8
accepted Renaming files of form FileName(i).csv to NewNamej(k).csv where j increments and k resets to 1 when there is a jump in i?
Jan
8
comment Renaming files of form FileName(i).csv to NewNamej(k).csv where j increments and k resets to 1 when there is a jump in i?
Deleted a comment because I was dumb. However, the point still stands from the deleted comment that I had to add //ToExpression to your definition of ns to get it to work. The numbers were not being treated as actual numbers, it would seem.
Jan
8
comment Renaming files of form FileName(i).csv to NewNamej(k).csv where j increments and k resets to 1 when there is a jump in i?
Forgot about FileNameTake. Should be ok now!
Jan
8
comment Renaming files of form FileName(i).csv to NewNamej(k).csv where j increments and k resets to 1 when there is a jump in i?
Fly in my ointment: Mathematica takes the file name to be the full absolute location, ie. C:\\Folder 1\\Folder 2\\FileName(1).csv. Can I get it to ignore the directories and give only the file name by itself? There are numbers in the folders and it throws everything off :/
Jan
8
awarded  Commentator
Jan
8
comment Renaming files of form FileName(i).csv to NewNamej(k).csv where j increments and k resets to 1 when there is a jump in i?
Ah yes it's obvious now that the 1 belongs to Flatten[]. Sorry for being lazy. I will want to spend a bit of time playing around with the code.
Jan
8
comment Renaming files of form FileName(i).csv to NewNamej(k).csv where j increments and k resets to 1 when there is a jump in i?
This place is full of wizards. I think this is exactly what I want. I will give it a shot soon. One question for now: I will be working with groups of files from various folders, and as such I would like to control what number "j" (NewNamej(k).csv) starts at. Is that the very last "1" in the block of code containing makeIndices?
Jan
8
comment Renaming files of form FileName(i).csv to NewNamej(k).csv where j increments and k resets to 1 when there is a jump in i?
@Hypnotoad they should come ordered with the caveat that the default Mathematica ordering function does not correctly order file names if the number of digits varies, ie. FileName(20).csv will come after FileName(100).csv. Is there a way to change that?
Jan
8
asked Renaming files of form FileName(i).csv to NewNamej(k).csv where j increments and k resets to 1 when there is a jump in i?
Nov
28
revised Analytically finding critical values in a hysteresis curve made with ListPlot
added 1754 characters in body
Nov
28
awarded  Scholar
Nov
28
awarded  Supporter
Nov
28
comment Analytically finding critical values in a hysteresis curve made with ListPlot
For some particularly ugly data this sometimes gets the wrong hopping points but it works overall. Thank you very much for the answer! I may end up playing around a little with the threshold definition to get it to work differently.
Nov
28
accepted Analytically finding critical values in a hysteresis curve made with ListPlot
Nov
26
comment Analytically finding critical values in a hysteresis curve made with ListPlot
This looks pretty good... I'll play around with this with a few other data sets and see if there are any hiccups. Thank you!