Questions tagged [axes]

Axes - plural of axis

Axes is plural of axis used in Cartesian coordinate system.

1002 questions
-1
votes
1 answer

Part specification along different axes of numpy array

Why is arr[0:5][0:10] the same as arr[0:10][0:5] and what should I write if I want to get the array with shape (10,5)? In the process of trying to crop a 2D numpy array I end up with the wrong dimensions. Ok, I figure, I just got my axes switched…
-1
votes
1 answer

Data on secondary axis in GGPlot

I have struggled to add secondary axes in R forever and really need help. My data frame includes changes in water elevation over a period of time for Well A and the water level for Well B which was pumped. My data frame is as follows: Time_Date …
JackWassik
  • 65
  • 6
-1
votes
2 answers

How can I get axes not touching each other?

Hi I am trying to plot a figure like this: The right side The line is not importand, it could be a sine curve or anything like that thanks!
lkssmr
  • 7
  • 1
-1
votes
1 answer

df.hist() is not returning plot of desired size

I am using df.hist() to get plots of all the columns in my DataFrame. The problem is that it is not displaying my plots in desired dimensions I am using following code: plt.figure(figsize=(10,12)) df.hist() plt.show() it returns me with a grid of…
letdatado
  • 93
  • 1
  • 11
-1
votes
1 answer

Create 3D axis to move object (in Unity)

Hello ! I want to make a level editor for a project and for this I need 3D axis to move an object. I have the axes but I want the user to be able to move them by dragging one axis: click on the X axis (red), drag the axis and it moves (like unity,…
Blublub
  • 1
  • 1
-1
votes
1 answer

How do I add a second axis to a matplotlib/seaborn bar chart and have the secondary points align with the correct bars?

I wrote a (newbie) python function (below) to draw a bar chart broken out by a primary and possibly a secondary dimension. For example, the image below charts the percentage of people in each gender who have attained a specific level of…
dnb
  • 3
  • 3
-1
votes
1 answer

Enforcing xmin = ymin in a MATLAB plot

Without specifying any values, how can I write code that will align the plot axes such that the minimum axis value of either x or y (that MATLAB will choose automatically if unassigned) is now the minimum for both axes? Example: If x would have…
AAC
  • 563
  • 1
  • 6
  • 18
-1
votes
1 answer

Difficulty in understanding matplotlib axes

I've following data year array([1970, 1971, 1972, 1973, 1974, 1975, 1976, 1977, 1978, 1979, 1980, 1981, 1982, 1983, 1984, 1985, 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, …
Nitin
  • 3
  • 3
-1
votes
1 answer

ggplot2: how to fix a "squashed" y-axis of categorical variables?

I'm trying to increase the spacing of the labels on the y-axis in this barplot: library(data.table) ggplot(data, aes(y=values, x=categories)) + geom_bar(stats="identity") +coord_flip() The problem of course is that there are…
ShanZhengYang
  • 16,511
  • 49
  • 132
  • 234
-1
votes
1 answer

How to rotate image and axes together on Matlab?

Code 1 where flipping vertically and/or horizontally does not affect axes(); Code 2 where proposed solution does not yield the expected output close all; clear all; clc; x = [5 8]; y = [3 6]; C = [0 2 4 6; 8 10 12 14; 16 18 20 22]; C2 =…
Léo Léopold Hertz 준영
  • 134,464
  • 179
  • 445
  • 697
-1
votes
1 answer

How to remove a children object from a figure in MATLAB?

How can I remove a children object from a figure in MATLAB? 1- Suppose I want to remove (not invisible) an axes from a figure. How to do it? 2- Since axes is a children of figure, can the same approach be used in removing any type of children of…
Zeta.Investigator
  • 911
  • 2
  • 14
  • 31
-1
votes
1 answer

Turn off axes in r

I've generated a plot of an RDA using R. When I add my biplot on to the RDA, it adds new axes that I would like to turn off. Here is some example…
lken
  • 29
  • 7
-1
votes
1 answer

How do I scale axes in a scatterplot in R?

I have a table in R, but the scale of the x- and y-axis is not desirable. How would I scale the x- and y-axis to even out the points on the chart? I have two values which I want to plot. p2 [1] 0.061 0.380 1.000 [4] 3.880 140.900 …
slimmey
  • 29
  • 7
-1
votes
1 answer

Creating a set of orthogonal axes

I need to create a series of vectors for a simulation which give the direction of propagation and the polarization of light (3 dimensions). Because of that the direction and the polarization need to be orthogonal so i need something like this: D=…
Nicolo Castro
  • 195
  • 1
  • 3
  • 8
-1
votes
1 answer

Create a two independent Y axis Highchart graph using a csv file

The example below is a battery data logger that reads a csv file with multiple data values for each time value and graphs it. https://i.stack.imgur.com/9wHJn.jpg As you can see I´m reading voltage with the left Y Axis, but I would like to add…
mberoldo
  • 1
  • 1
1 2 3
66
67