Giter Club home page Giter Club logo

Comments (10)

KristofferC avatar KristofferC commented on June 15, 2024

Could you please post the complete Julia code you are using.

from pgfplotsx.jl.

CarolinGao12 avatar CarolinGao12 commented on June 15, 2024

table=Table("/home/ldaphome/plot/Calgary_36h_10dB_patter.dat")
just very normal code to use this table

from pgfplotsx.jl.

KristofferC avatar KristofferC commented on June 15, 2024

Are you using the master branch or the latest released version (v0.1.5)?

from pgfplotsx.jl.

KristofferC avatar KristofferC commented on June 15, 2024
PGFPlotsX.Plot(PGFPlotsX.Table("test.dat"))

works for me with test.dat:

1 1.0957924e+01
2 1.1014873e+01
3 1.1071216e+01
4 1.1126760e+01
5 1.1181310e+01

and gives:

screen shot 2018-02-15 at 14 43 39

from pgfplotsx.jl.

CarolinGao12 avatar CarolinGao12 commented on June 15, 2024

I am using Jupyter notebook to plot this data
`
import PGFPlotsX: Axis, Plot, Plot3, @pgf, PolarAxis, TikzDocument, GroupPlot, TikzPicture,
Table, Expression, Coordinates, Graphics
using LaTeXStrings
using Colors

@pgf begin
table=Table("/home/ldaphome/wgao/Calgary_36h_10dB_patter.dat")
p= Plot(table)
........then put it into the asix
end`
it still has this problem

from pgfplotsx.jl.

KristofferC avatar KristofferC commented on June 15, 2024

Could you do:

PGFPlotsX.print_tex(STDOUT, axis)

where axis is your axis.

from pgfplotsx.jl.

CarolinGao12 avatar CarolinGao12 commented on June 15, 2024

\begin{polaraxis}[point meta min={-5.6}, point meta max={4.5}, colorbar horizontal, colorbar style={/pgfplots/colorbar shift style={yshift={-10}}}, colormap/jet, hide x axis, hide y axis]
\addplot+[]
table []
{/home/ldaphome/wgao/plot/mAP_berlin_wall.dat}
;
\end{polaraxis}
here is the result

from pgfplotsx.jl.

KristofferC avatar KristofferC commented on June 15, 2024

I can run that fine, so there is probably something strange with your .dat file.

from pgfplotsx.jl.

CarolinGao12 avatar CarolinGao12 commented on June 15, 2024

Thanks , I have no idea. Maybe because the data file, I have another .dat file and that one is no problem. This data file, I got it by converting .mat file to .dat file.
But still very thank you for your help

from pgfplotsx.jl.

KristofferC avatar KristofferC commented on June 15, 2024

There doesn't seem to be anything wrong with the latex we generate here, so closing.

from pgfplotsx.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.