Questions tagged [xscale]

25 questions
0
votes
0 answers

Widening the x-axis by a specific factor?

I am trying to plot data in a simple scatter plot. I am able to this pretty well with the data I have, the only issue is that, as a result of the experiment I was running, the x-axis is actually off. The x-axis is the position of an object and it is…
0
votes
0 answers

Adjusting Scale for time series using facet wrap

I have 15 minute interval water temperature data from 27 environmental stations within a Bay. I have calculated and plotted the daily average temperature for the whole Bay. I used facet_wrap to plot them by year: 2015, 2016 and 2017. But there are…
0
votes
0 answers

R: How to extend this polygon at the first and last x ticks with ggplot2?

I have this plot code: ggplot() + annotate("rect",xmin=as.Date("1900-01-01", "%Y-%m-%d"), xmax=as.Date("2020-12-31", "%Y-%m-%d"), ymin=bind.fine[1,3], ymax=bind.fine[1,4], alpha=0.4, fill="gray70")+ geom_hline(yintercept=7188.349,…
skylobo
  • 151
  • 1
  • 9
0
votes
3 answers

Bar chart is giving negative values

I am using Charts API and implementing chart. I am new in that and there is no proper documentation for Swift 3. I tried and implemented but don't know how to remove that negative scale for y. How can I start my graph from 0 only, so it does not…
Kishor Pahalwani
  • 1,010
  • 1
  • 23
  • 53
0
votes
1 answer

Scale not giving expected values in d3.js

I'm pretty out of solutions here I'm creating a multi graph, with graps added dynamically by user Which is why I had to give variable names to the scales using the window method All seemed to work awesome, looks good also, however I am not seeing…
0
votes
1 answer

corona sdk xScale in transition.to

How to make object big by xScale in transition.to for a period of time this is my line code transition.to(object, {time = 200, radius = 3, alpha = 1, xScale = 1.4, yScale = 1}) let's say I want this happen for 5 seconds then return to the default…
0
votes
1 answer

contourf not working when setting xscale in logarithm

I am trying to plot with coutourf() but with xscale in logarithm : contourf(data); set(gca,'XScale','log'); But as I set the xscale I'm loosing the filling (became kind of a contour but without color). I try to use the GUI for plot and I have the…
Rafnuss
  • 119
  • 1
  • 14
0
votes
1 answer

Xscale is preventing collision detection

When I try using xscale to flip my any of of my SKSpriteNodes around, they stop detecting collisions. I have tried many different ways to fix this, including moving the anchor point, wrapping a container node around all of my nodes, and reiterating…
0
votes
2 answers

Sprite Kit flip player XScale

I have a an SKSpriteNode for my _player and there are two children to the _player node that make up my character. the sprites with this configuration have the character facing right. when I need the character to face left I tried using xScale = -1.0…
Early73
  • 473
  • 3
  • 7
  • 23
-3
votes
1 answer

ggplot few X-scale bold, rest not bold

I have a ggplot with on the x-scale the numbers from 0 to 21. I want the numbers 0,4,6,9,12,16,18 and 21 in bold, the rest has to stay like it is normal (grey, not bold) How do I do that?
1
2