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.
4,509
questions
0
votes
1
answer
18
views
Python chart scale in google sheet api
I'm able to create chart into Google sheets by using python but I cannot find how to put the vertical axis scale to logarithmic for a column chart. It is possible manually with the graphic editor but ...
1
vote
0
answers
24
views
Animating img scale cause shaking effect during transition
Edited
I'm using css transitions to increase scale of an img while hovering it.
I don't know why on my website during the transition the img seems shaking (especially at start and ending of the ...
1
vote
2
answers
49
views
Scale animation around Safe Area issue in SwiftUI
I'm attempting to resize a view, but when the view (YellowView) enlarges/shrinks to the safe area, all elements within the view experience a sudden shift (caused by the change in view size). How would ...
0
votes
0
answers
27
views
How to scale axes independently in pyvista?
Suppose I have x, y, z and x2, y2, z2 arrays. I am plotting them as 2 different 3d splines in pyvista.
import numpy as np
import pyvista as pv
network = pv.MultiBlock()
points_1 = np.column_stack((x,...
0
votes
0
answers
17
views
can't scale a custom model in three js
when i scale the custom model it works , but its not effecting when it comes with particles. if you see this video you can understand waht i am saying .
https://firebasestorage.googleapis.com/v0/b/fir-...
0
votes
0
answers
15
views
Excel column graph with significantly different scales on data
I want to make a column chart for the following example:
| 2018 | 2019 | 2020 | 2021 | 2022
--------|------------|------------|------------|------------|-----------
...
0
votes
0
answers
18
views
I apply Scale on hover but when my icon goes back I want the icon speed to slow as compared to hovering
Description:
I have an icon I apply scale property on hover and transition as well in class , but when I hover the icon it scales fast that's prefect for me but when I remove hover I need to slowly go ...
1
vote
0
answers
38
views
Pyvista Challenges, Not Showing Continuous Scale And Rendering is Obfuscated
Newcomer to Pyvista and stackoverflow.
I'm running into issues with the color scale and rendering using Pyvista.
Here's the code, mostly boilerplate from the Pyvista documentation:
import numpy as np
...
0
votes
0
answers
72
views
Problem in the size of the form and controls at the time of execution
I have created a form in the form of image 1, but at the time of execution, the distance between the controls increases and the size of the form also increases. What is the problem?
Image 2 is at ...
-1
votes
1
answer
30
views
Change a GameObject with script - Increment the scale
Just started to learn Unity pathway and currently I am stuck in increment the scale. I followed the unity pathway code but the scale is not working. What is the problem???Unity pathway code '...
0
votes
1
answer
32
views
Italic font in one scale label in ggplot
I want to put one label of x axis with italics font with this code:
scale_x_discrete(labels = c("factor1", "<i>factor2</i>"))+
But it doesn't work.
Do I need to ...
-1
votes
1
answer
47
views
How do I change contour color plot to make it more readable?
I want to make a contour plot, with a specific contour line using matplotlib, the important piece of code is the following:
levels = [-5, -3,-2,-1, 0,1, 2,5,10,17.5]
cax = ax1.contourf(X,Y,Z,levels)
#...
0
votes
0
answers
19
views
vue,js combine transform :scale,translate and transformOrigin to zoom and move div
using vue code to scale and move div, there is a problem when using the mouse wheel to zoom div, move div everything work perfectly but when zoom theres is a problem the div keeps moving unexpectable ,...
1
vote
2
answers
49
views
Gnuplot: x axis scale for 1-column data spaced every two seconds
I have 1 column of data:
plot "memory.log" w lp notitle pt -1 lw 1
Time spacing between records is 2 seconds. How can I plot it in [hours] scale insteadt of [2 seconds] scale on x axis?
0
votes
2
answers
49
views
how can I make this auto multiple line
How can I make this automatically span multiple lines?
I am using HTML & CSS.
Here is my code (I changed it a bit because some parts are from PHP):
<div style='border: 1px solid; padding: 10px; ...
0
votes
1
answer
19
views
Should we pass the transpose of a data into sklearn StandardScaler()?
I possess a dataset where each row corresponds to distinct mobile applications and the columns represent Key Performance Indicators (KPIs). I'm currently wondring whether it's necessary to normalize ...
2
votes
1
answer
38
views
How to scale a path element in an SVG file with Python
My Inkscape-made SVG contains a path with a unique ID that I want to scale around its center. Here's what it looks like:
I know the id of the element, so I used svgutils to scale it:
import svgutils....
0
votes
0
answers
19
views
Change firefox page setup/scale using javascript
How can I change firefox page scale using javascript?
How can I change firefox page scale (File/ Page setup/ Scale) using javascript, to change print size?
I've tried following code but does not work!
...
3
votes
1
answer
69
views
How to get the relationship between X and Y ranges in gnuplot
I am plotting data using circles like this:
$DATA<<EOD
1.0000,"CAN",80.6600,1.6700,0.2879,
2.0000,"DEU",79.8400,1.3600,0.4134,
3.0000,"DNK",78.6000,1.8400,0.2144,
4....
0
votes
0
answers
18
views
Why does the scale_y_continuous() function change my data?
I am using ggplot() and stat_summary() to make bar charts with confidence intervals. I want to standardize the y axes but when I use the scale_y_continuous() function, the resulting graphs look ...
0
votes
2
answers
34
views
ggplot2: change color of one point with corresponding error bar
I generated the following plot:
and I'd like to change the color of the ref point + errorbar. What could be an easy way?
This is my code:
ggplot(df,aes(x = chan,y = mean)) +
geom_errorbar(aes(...
2
votes
1
answer
87
views
How Do I Set Unique, Descriptive Hostnames for AWS Auto Scaled Instances?
My ASG assigns scaled nodes the aws:autoscaling:groupName to each Instance Name.
This yields multiple instances with the same Instance Name.
For example:
Instance Name
Instance ID
dev-test-my-ASG
i-...
2
votes
0
answers
56
views
Flutter Flame ScaleDetector doesn't work when a Component with DragCallbacks is added
How can I make scale and drag gestures work simultaneously in Flutter Flame? I want to have draggable components placed on the zoomable board. Imagine you have a puzzle board and you want to zoom in ...
0
votes
0
answers
48
views
Trying to decode the weight from a scale in flutter
I am reading the ble output from a scale and for the life of me I cannot find the weight output.
I am expecting 22.2 kg
The outputs are:
[46, 162, 25, 97, 145, 160, 160, 44, 246, 24, 13, 167]
and/or
[...
-1
votes
1
answer
31
views
Scaling SVG Button Mask in ChakraUI
I am trying to create a specially shaped button that overlays a section of an image and am running into issues with the scaling of the button mask.
The image and the masks were created together and ...
0
votes
1
answer
52
views
How to solve the scaling issue in flutter
I have a screen where Im using flutter_screenutil package. When page opens Text value scales per a second. How to solve this problem. I also tried layoutbuilder but doesnt help.
Scaffold(
key: ...
0
votes
0
answers
35
views
How to add print scale by javascript
I want to set the print scale to 62%.
function printDiv(divName) {
var printContents = document.getElementById(divName).innerHTML;
var originalContents = document.body.innerHTML;
document....
0
votes
1
answer
23
views
Scaling issue on raincloud plot
I am trying to create a raincloud plot to show scores on sex, however it is subgrouping each point based on its score I want it to look like this image, where petal.length on grouped by species and ...
0
votes
1
answer
15
views
bar graph with log Y-axis
I have a dataframe:
tibble [56 x 3] (S3: tbl_df/tbl/data.frame)
$ Species : Factor w/ 56 levels "OC1","OC2","OC3",..: 1 2 3 4 5 6 7 8 9 10 ...
$ Residential: num [1:56]...
1
vote
1
answer
78
views
How to make a composable screen scale to different phones (screen) sizes in jetpack compose?
I am trying to create a composable that can work for each screen by scaling its content to the appropriate size depending on the type of phone screen used. Note: Not dependent on other types of ...
0
votes
0
answers
45
views
How can i get weight from scale to text box by serial port using c#
I am trying to get only weight from the scale to my application I try some codes but its doesn't work
I am using this code :
namespace WS_POS
{
public partial class Test1 : XtraForm
{
...
1
vote
0
answers
27
views
How do I change the base of D3's symlog
I'm currently using d3.scaleSymlog to plot some data. Unlike d3.scaleLog, d3.scaleSymlog doesn't produce a scale that allows me to set the base like this d3.scaleSymlog().base(2). So, I'm wondering if ...
0
votes
0
answers
18
views
Python scaling to a fixed range, while keeping mean close to 0
Python experts,
Similar questions have been asked multiple times, but I couldn't find an ideal solution to my problem. I have a long series of mean normalized data (mean of 0, range of [-6, 11]), and ...
0
votes
1
answer
28
views
Stochastics peaks plateauing
When plotting the Stochastics K line, Pine chops off my peaks and valleys at 100 and 0.
Is there a way to stretch beyond this scale and get true peaks and valleys?
(How would I modify the 0 to 100?)
...
0
votes
0
answers
24
views
Problems with visualization symbols in shp layer with QGIS 3.28
I have a polygon shapefile with two objects (two multypolygons) that somebody sent me, with its qml and qmd.
The problem is that when I change the scale, depending on the side of the polygon, below 1:...
0
votes
0
answers
42
views
Chart.js Chart with more than one X-Axis-Scale (Months and Years)
I am trying to draw a chart with chart.js to visually display the occurrence of a specific dates.
I have two different Objects, one that counts on a per-Month basis and one that counts on a per-Year ...
0
votes
0
answers
20
views
Website Home loads fine on retina display screens for just one second....then it scales up (or zoom in)
So im finishing a website and for some reason, the homepage zooms in on retina displays. When you load it, it looks great for 1 seconds and then auto scales and some content is no longer visible. Keep ...
0
votes
1
answer
28
views
opos scale, ResultCodeExtended values
when I put on a scale a weight bigger than the maximum weight, I get back
Returncode=114
Device. ResultCodeExtended=201
I think 114 means OPOS_E_EXTENDED, meaning check the extended code, which is ...
-1
votes
1
answer
57
views
ffmpeg scale down video dynamically (squeeze-back) or zoompan out to smaller than original VER2
I have 2 videos, I'm trying to overlay one on top of the other, and have it shrink down in an animated fashion until it appears like a picture-in-picture setup. Then, after a few seconds it should ...
0
votes
2
answers
70
views
How to scale up a rotated and translated image to fill a frame
In my C# application, I have a 1280x720 image (in blue on the image below). In the image is an object of interest (in yellow) whose center was originally at (objectCenterX, objectCenterY) and which ...
0
votes
1
answer
23
views
How do I insert scales in my geom_area graphic?
I'm coding a graphic and I'm giving the scales Y that I want to plot, but when I plot it the scales is wrong. See it:
ggplot(pop_idade_escolar_americana, aes(x = Ano, y = De.0a5.anos)) +
geom_area( ...
0
votes
1
answer
75
views
The issue lies in the received data from the serial port
I have developed a scale application that reads data from a serial port and displays it in a text box. However, I have a problem with the display of the incoming number from the serial port, which ...
0
votes
0
answers
49
views
transformScale in turf.js flips, mirrors, and moves resulting polygons
Using the polygon points shown below, why does turf.js output the results that it does when applying transformScale? The new enlarged polygon is not only upside down and mirrored, but is also shifted ...
0
votes
0
answers
20
views
connect the scale weight via SR232
I recently purchased an XFOC+ Gram scale with an RS-232 connection, and I am having trouble connecting it to my PC. I have a cable that goes from RJ12 to USB, which seems to be suitable for the ...
0
votes
1
answer
28
views
Multiplying raster brick
I have a Rasterbrick of 105 NDVI modis pictures, that I need to multiply by 0.0001 to get the right NDVI scale.
ndvi.crop <- brick("ndvi_crop.grd")
ndvi_corrected <- ndvi.crop * 0....
0
votes
0
answers
35
views
Scaling a matrix (input matrix for neural network)
I built a ML- model for a binary classification:
model <- keras_model_sequential() %>%
layer_batch_normalization(input_shape=input_shape) %>%
layer_dense(units=128,activation='relu') %...
0
votes
1
answer
52
views
OpenCV - homographic conversion on point used for matrix computation does not match
I have an image taken from a given perspective. It includes a square of size 350mm in real world. I want to click on the image and know the coordinate of the point in real world. I thought I would use ...
0
votes
0
answers
35
views
Arduino nano with 2 load cells fluctuating
I built an Arduino Scale With 2 20 Kg Load Cells and HX711 Amplifier. 2 load cell connection are on different analog A0 and A1 pins. I am using an Arduino Nano. However my analog outputs are ...
0
votes
0
answers
33
views
Downscaling a JavaFX Application
I am trying to find a universal solution to make any fxml document scale by a certain factor and i tried using the "javafx.scene.transform.Scale" to achieve that but it messes up my window,
...
0
votes
0
answers
76
views
What options do I have to standardize data?
I am working on a database of about 40 ophthalmological patients from which we obtain 90 variables. These variables are mainly binomial (1 contains this disease/characteristic, 0 does not). So my ...