just wondering if anyone has any ideas about the problem I have.
I have enough data that should be displayed on one chart. Upstairs, two theoretical lines are displayed, which are shown in bold and solid, then 10 graphic data sets that converge to these lines using a different identifier (for example, + or o or a square, etc.). These graphs are on a scale that increases to 1e6. The first few decades of the graph (<1e3) look great, but as all data collections converge (> 1e3), it's really hard to figure out what data is.
There are over 1000 data point points per decade that I can crop linearly to some extent, but if I do this too much, the lower end of the graph will suffer in resolution.
What I would like to do is break the trap that is the strongest at the top end, working to 0. My question is: how can I get a logarithmically scaled index vector, not a linear one?
My initial assumption was that since my data is lenear, I could just use a linear index to shorten, which would lead to something similar (but for all decades):
//%grab indicies per decade ind12 = find(y >= 1e1 & y <= 1e2); indlow = find(y < 1e2); indhigh = find(y > 1e4); ind23 = find(y >+ 1e2 & y <= 1e3); ind34 = find(y >+ 1e3 & y <= 1e4); //%We want ind12 indexes in this decade, find spacing tot23 = round(length(ind23)/length(ind12)); tot34 = round(length(ind34)/length(ind12)); //%grab ones to keep ind23keep = ind23(1):tot23:ind23(end); ind34keep = ind34(1):tot34:ind34(end); indnew = [indlow' ind23keep ind34keep indhigh']; loglog(x(indnew), y(indnew));
But this leads to the fact that prunes are furious. Each decade has a number of points that I would like, but since this is a linear distribution, these points tend to shrink at the top of the decade on a magazine-wide basis.
Any ideas on how I can do this?