Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have 2 data sets of equal length. I've done a LinearModelFit of them which gives me:

d = Transpose[{d1, d2}];
lm = LinearModelFit[d, x, x]

FittedModel[0.000245082 + 0.000514887x]

This reflects a relationship of y axis values that vary proportionately to time. I actually suspect that visually seeing this relationship having the data scaled to it may turn up some interesting patterns.

I have a notion of now scaling a plot of the original data proportionate to the FittedModel. Not certain how to go about this and I may not have even articulated the question clearly. A clue, some fields refer to this as "square" scaling, but I haven't seen the term used or described widely.

Maybe what doesn't seem to work to do this might help clarify things.

I do know that AspectRatio doesn't seem to get me to what I have in mind. It scales the entire plot including the axes labels and titles. I want to scale the plot area (within the plot frame) itself.

It does seem that I might create a couple of plots, say one without labels with the AspectRatio then another with just the axes labels and combine them with Show or Grid, but this seems cumbersome.

I travel over the holiday weekend, so I may not have the connectivity to respond with additional information until late Monday. I will if I can.

In the meantime, any thoughts appreciated.

Late thought: Would ScalingFunctions help to do this?

share|improve this question

closed as unclear what you're asking by Kuba, Karsten 7., bbgodfrey, Dr. belisarius, Jens Mar 11 '15 at 21:57

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

Hi :) do you still want an answer? Maybe you've got one? If not, any new claryfications? – Kuba Mar 18 '14 at 18:10
@Kuba - Gosh, long time, but yes I would like an answer. Reading through the question again, I wonder if I can do something with LogPlot, but I've yet to see think through to a solution. – Jagra Mar 19 '14 at 11:43
I'm asking because I'm scanning old topics to close. I think community may think about this one more time :) but for me it is unclear what you are asking about :/. Could you provide better explanation? – Kuba Mar 19 '14 at 16:29
Please include an actual example of the kind of plot you want to scale, so that we can see if e.g. ScalingFunctions is applicable. Otherwise I shall delete this question as closed and abandoned. – Mr.Wizard Mar 25 '15 at 9:51
@Mr.Wizard - As I revisit this, I think I can restate the question better and more succinctly. "Does a way exist to apply something like AspectRatio within a plot's Frame, which would in turn override AspectRatio." Essentially, I want control of the frame itself (either statically or programmatically). If you think this makes sense and seems worthwhile I can update the question. Let me know. – Jagra Mar 25 '15 at 18:43

Browse other questions tagged or ask your own question.