Questions tagged [scale]

The scale tag is mostly used for questions that relate to proportional resizing of images or UI elements. It is also used for questions related to function scale() in R language.

In scientific software for statistical computing and graphics, the function scale performs standardization of a vector or a matrix (by column).

4504 questions
1
vote
2 answers

How do I register the reciprocal (1/x) scale in Matplotlib?

Currently, I get this plot from my Python script: The frequency-period relation is not linear, it's reciprocal, being period = 1./frequency or, if expressed as a power, period = frequency**(-1). The auxiliary x-axis scale is linear in my script,…
sergiuspro
  • 111
  • 1
  • 11
1
vote
0 answers

android animation scale only top portion of the image

Is it possible to scale only the top portion of a patch 9 image. I am using two set of images inside a frame layout. My objective is to animate scale an image(imageView2) to show the progress of a battery charge.(Its a patch 9 image created…
Dmitri
  • 26
  • 1
  • 5
1
vote
1 answer

Inversed rescaling on R dataframe

I am currently using R to assign mutation significance values to proteins in yeast. I have a data frame that looks like this: Genes q_values 1 HNT1 4.836462e-01 2 EMP47 6.792469e-01 3 QDR2…
Biochem
  • 311
  • 1
  • 4
  • 13
1
vote
0 answers

How to resolve aspect ratio/scale issue with Javascript/CSS photo gallery script (Ninja Slider/Menucool)?

I am a paid user of the Ninja Slider and Thumbnail Carousel scripts and I am attempting to implement a Flickr-like Slideshow (Demo 4). Unfortunately, the developer apparently is no longer offering support, not even paid support — it appears that…
travelgasm
  • 151
  • 1
  • 8
1
vote
1 answer

Apache Ignite - is there a way to avoid hot spots nodes in collocated computations

i have an Ignite cluster configuration, where a given data set saved in Ignite-cache and computations are collocated accordingly, it reaches a point where adding more nodes does not improve performance. I noticed that this is because some of the…
chen
  • 11
  • 2
1
vote
1 answer

docker-compose scale with different cpuset

How can I scale a service but apply a different cpuset on each instance with docker-compose ? For example: I have 4 cpus, I want 4 instances, each using 1 unique cpu.
0xkvn
  • 377
  • 2
  • 16
1
vote
0 answers

How to visibly reverse the scale of a child element to non-transformed, when its parent is scaled up

Consider you have a page (yellow background), with an element (grey line) that has a child element (dotted red); all the same pixel dimensions. The grey parent is scaled up to 1.5, which naturally makes its child also scaled up. To reverse the size…
Andy
  • 11
  • 1
1
vote
2 answers

KivyMD - Is there a way to change the size of an MDIcon within its container? i.e. Display a 50% scale MDIcon within one cell of a GridLayout

I have a set of MDIcons laid out within a GridLayout but the icons are too large in appearance. Is there a way to scale them to 50% of their size within the parent widget without altering the layout of the parent?
jamesl424
  • 53
  • 7
1
vote
1 answer

How do I write a mathematic formula that non-linearly scales a continuous variable to a 0-100 span where f(x)→100 where x→Inf

I am building an index of user-qualities defined as a sum of (often) correlated continious variables representing user-activity. The index is well-calibrated, and servs the purpos of my analysis, but is tricky to communicate to my co-workers,…
nJGL
  • 819
  • 5
  • 17
1
vote
1 answer

Control over the docker images while scaling up and scaling down

Lets say we have a microservice which runs in docker container. Now to bring up this service, it uses cache which is mounted on the host volume which gets shared by all the other docker images for same microservice. And to build this cache in app it…
bluecipher
  • 11
  • 1
1
vote
3 answers

How properly set line scaling in ms visio

I trying to create scallable shapes in Visio I manage to set scaling for text, but when it comes to lines i cant make it work: Here i have shape I setup linewidth as described here http://visguy.com/vgforum/index.php?topic=5261.0 Now i set scale…
Vasilij Altunin
  • 754
  • 1
  • 5
  • 18
1
vote
1 answer

How multiple indexes affect sharding in mongoDB?

Assume I have a collection with 100 million rows and I will need to do sharding to improve performance. However, the collection is heavily indexed. For some reasons, there are 20 different indexes created for the collection. Based on my…
Qing Liu
  • 11
  • 2
1
vote
2 answers

Scaling Google Cloud Pull subscribers

I'm considering Google Cloud Pub/Sub and trying to determine whether I will go for Pull or Push subscriber model. Notably the pull model is able to handle larger throughput Large volume of messages (many more than 1/second) Efficiency and…
quickshiftin
  • 66,362
  • 10
  • 68
  • 89
1
vote
1 answer

set maximum value for x-axis in vegalite doesn't work properly

I would like to set my x-axis values to be from 0 to 360 in vegalite horizontal bar chart. Here is my code: vegalite({ width: 600, height: 300, data: { values: AdPitchedInd }, mark: 'bar', encoding: { x: { aggregate: "sum", …
Chique_Code
  • 1,422
  • 3
  • 23
  • 49
1
vote
1 answer

Matplotlib autoscale behaviour not as expected for multiple plots

I have a need to plot lines and a shaded region. The shaded region extends beyond the edge of the plot and I want to keep the plot limits as they were before the shaded region was plotted. I also need any autoscale changes to take into account the…
Matthew Reid
  • 332
  • 2
  • 9