Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Gnuplot: reflexion of a graph in a quadrant to the other

  1. Jan 30, 2015 #1
    Hello everyone,

    I have generated a graph in one quadrant and i need to generate the reflexion of it in the other quadrants. I need to generate a graph like the one found in (http://arxiv.org/pdf/astro-ph/0103143v1.pdf) figure 2. The figure below show the graph i have i one quadrant.


    Anyone know how to take the reflection of it to the rest of the quadrants in gnuplot??

    The code i used is:

    set terminal postscript eps color enhanced size 7,7
    set output '2PCF.eps';

    set xlabel "r_p h^{-1}Mpc" font "Times-Roman, 25
    set ylabel "{/Symbol p} h^{-1}Mpc" font "Times-Roman, 25
    set xrange [1: ]
    set yrange [1: ]

    set pm3d map
    set view map
    set style data pm3d

    set dgrid3d 20,20
    set hidden3d
    unset surface
    set pm3d at b
    set cbtics 1 norangelimit
    set cbrange [0:8]
    set format cb "%3.1f"
    set palette model RGB
    #set palette defined

    splot "data.dat" u 1:2:4 notitle
  2. jcsd
  3. Jan 31, 2015 #2
    Just a guess as I haven't used gnuplot in a while, and haven't ever really used the splot stuff. Can you do something like,

    Code (Text):
    splot "data.dat" using 1:2:4 notitle, "data.dat" using ($1*-1):2:4, "data.dat" using 1:($2*-1):4, "data.dat" using ($1*-1):($2*-1):4
    Last edited: Jan 31, 2015
  4. Feb 17, 2015 #3
    Thank you!
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Threads - Gnuplot reflexion graph Date
Putting Excel graph into LaTeX Feb 10, 2018
Functions of two variables evolving in time with gnuplot Jun 25, 2017
How To Download Gnuplot For Windows? Aug 27, 2015
Gnuplot Tutorial Aug 26, 2015
A light-cone diagram in Gnuplot May 5, 2014