Questions tagged [rescale]

155 questions
-1
votes
1 answer

ggplot two lines in one graph, error code?

I am pretty new to RStudio and try to plot two different lines in one graph. X-scale should be the year and the y-scale should be tons Carbon per hectar. Then I want to plot two lines for two different forest management types (BAUca and NATUREca).…
Freddy94
  • 47
  • 5
-1
votes
2 answers

Applying weights to a dataframe and rescaling them in R

I have a dataframe in R that looks like this: And then another weights dataframe that looks like this: What I want to do is apply the weights to the dataframe - which is fairly simple and I can do it by using the following code: dataframe$month <-…
Jay J
  • 155
  • 1
  • 12
-1
votes
1 answer

Matlab - Text Rescaling with Zoom In

How should i add a text in the plot in order this autoscale when i make a zoom in or zoom out? Both FontUnits options, normalized and pixels do not rescale when zooming in or zooming out. figure(1); text(0.5,0.5,'test',... …
Brethlosze
  • 1,533
  • 1
  • 22
  • 41
-1
votes
1 answer

How to convert data from [-1,1] to [0,255]?

I have some arrays of data in range [-1,1] and need to convert them to range [0,255] in Matlab. Either formula or code! (I checked Matlab functions but i could not find any function related to this conversion!)
Araz
  • 3
  • 5
-1
votes
1 answer

Rescaling an image just knowing a scale factor preserving aspect Ratio

Okay I know it sounds like it's a repost of another question, but I couldn't find anybody asking the same question as I do, or maybe I'm wrong because that's not the way how to handle the problem, but anyway here it comes: I have an input image, say…
Lex
  • 413
  • 1
  • 7
  • 19
1 2 3
10
11