JuliaPy / JuliaPy/PyPlot.jl

3D plots not clipped at axis limits

Abierto
#70 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Julia
Estrellas
488
Forks
90
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Simple reproduce script:

``` julia
using PyPlot

# Create a figure with a 3D plot
subplot(111,projection="3d")

# Plot a curve
t = 0:.1:6pi
plot(cos(t),sin(t),t) # nice helix around z axis

# Restrict domain
xlim(0,1)
ylim(0,1)

# Domain for "backdrop is now restricted, but entire helix still drawn!
```

I don't know if this is a problem in `PyPlot.jl` or a more fundamental one in `matplotlib` - for some reason I can't get `matplotlib` working with 3d projections at all when running from plain python. If someone else can get that working, and verify that it's an issue with `matplotlib` rather than `PyPlot`, I'll file the issue there instead.

FWIW, I have `PyPlot` 1.2.9, `matplotlib` 1.3.1, running

```
julia> versioninfo()
Julia Version 0.3.0-rc1+27
Commit 9e5ffd6 (2014-07-15 08:13 UTC)
Platform Info:
System: Linux (x86_64-linux-gnu)
CPU: Intel(R) Xeon(R) CPU E5410 @ 2.33GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Penryn)
LAPACK: libopenblas
LIBM: libopenlibm
```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.