// File: orbitcowboy[P]gnuplot-cpp/./gnuplot_i.hpp
// Function: Gnuplot::plotfile_xy_err(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned int, unsigned int, unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
Gnuplot& Gnuplot::plotfile_xy_err(const std::string &filename,
                                  const unsigned int column_x,
                                  const unsigned int column_y,
                                  const unsigned int column_dy,
                                  const std::string &title)
{
    //
    // check if file exists
    //
    file_available(filename);

    std::ostringstream cmdstr;
    //
    // command to be sent to gnuplot
    //
    if (nplots > 0  &&  two_dim == true)
    {
        cmdstr << "replot ";
    }
    else
    {
        cmdstr << "plot ";
    }

    cmdstr << "\"" << filename << "\" using "
           << column_x << ":" << column_y << ":" << column_dy
           << " with errorbars ";

    if (title.empty())
    {
        cmdstr << " notitle ";
    }
    else
    {
        cmdstr << " title \"" << title << "\" ";
    }

    //
    // Do the actual plot
    //
    return cmd(cmdstr.str());
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x230, %rsp            # imm = 0x230
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movl %ecx, -0x18(%rbp)
movl %r8d, -0x1c(%rbp)
movq %r9, -0x28(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x1d8(%rbp)
movq -0x10(%rbp), %rdi
callq 0x5cb0
leaq -0x1a0(%rbp), %rdi
callq 0x33d0
movq -0x1d8(%rbp), %rax
cmpl $0x0, 0xc(%rax)
jle 0x62b0
movq -0x1d8(%rbp), %rax
movb 0x9(%rax), %al
andb $0x1, %al
movzbl %al, %eax
cmpl $0x1, %eax
jne 0x62b0
leaq 0x9f92(%rip), %rsi      # 0x1021b
leaq -0x1a0(%rbp), %rdi
callq 0x3280
jmp 0x6297
jmp 0x62c7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a8(%rbp)
movl %eax, -0x1ac(%rbp)
jmp 0x6496
leaq 0x9f66(%rip), %rsi      # 0x1021d
leaq -0x1a0(%rbp), %rdi
callq 0x3280
jmp 0x62c5
jmp 0x62c7
leaq 0xa0d7(%rip), %rsi      # 0x103a5
leaq -0x1a0(%rbp), %rdi
callq 0x3280
movq %rax, -0x1e0(%rbp)
jmp 0x62e3
movq -0x1e0(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x3270
movq %rax, -0x1e8(%rbp)
jmp 0x62fc
movq -0x1e8(%rbp), %rdi
leaq 0x9f4b(%rip), %rsi      # 0x10255
callq 0x3280
movq %rax, -0x1f0(%rbp)
jmp 0x6318
movq -0x1f0(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0x33c0
movq %rax, -0x1f8(%rbp)
jmp 0x6330
movq -0x1f8(%rbp), %rdi
leaq 0x9eb4(%rip), %rsi      # 0x101f2
callq 0x3280
movq %rax, -0x200(%rbp)
jmp 0x634c
movq -0x200(%rbp), %rdi
movl -0x18(%rbp), %esi
callq 0x33c0
movq %rax, -0x208(%rbp)
jmp 0x6364
movq -0x208(%rbp), %rdi
leaq 0x9e80(%rip), %rsi      # 0x101f2
callq 0x3280
movq %rax, -0x210(%rbp)
jmp 0x6380
movq -0x210(%rbp), %rdi
movl -0x1c(%rbp), %esi
callq 0x33c0
movq %rax, -0x218(%rbp)
jmp 0x6398
movq -0x218(%rbp), %rdi
leaq 0x9ecd(%rip), %rsi      # 0x10273
callq 0x3280
jmp 0x63ad
movq -0x28(%rbp), %rdi
callq 0x3490
testb $0x1, %al
jne 0x63bc
jmp 0x63d3
leaq 0x9e9b(%rip), %rsi      # 0x1025e
leaq -0x1a0(%rbp), %rdi
callq 0x3280
jmp 0x63d1
jmp 0x641f
leaq 0x9ec7(%rip), %rsi      # 0x102a1
leaq -0x1a0(%rbp), %rdi
callq 0x3280
movq %rax, -0x220(%rbp)
jmp 0x63ef
movq -0x220(%rbp), %rdi
movq -0x28(%rbp), %rsi
callq 0x3270
movq %rax, -0x228(%rbp)
jmp 0x6408
movq -0x228(%rbp), %rdi
leaq 0x9e52(%rip), %rsi      # 0x10268
callq 0x3280
jmp 0x641d
jmp 0x641f
leaq -0x1d0(%rbp), %rdi
leaq -0x1a0(%rbp), %rsi
callq 0x32b0
jmp 0x6434
movq -0x1d8(%rbp), %rdi
leaq -0x1d0(%rbp), %rsi
callq 0x3d00
movq %rax, -0x230(%rbp)
jmp 0x6450
leaq -0x1d0(%rbp), %rdi
callq 0x35c8
leaq -0x1a0(%rbp), %rdi
callq 0x3090
movq -0x230(%rbp), %rax
addq $0x230, %rsp            # imm = 0x230
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a8(%rbp)
movl %eax, -0x1ac(%rbp)
leaq -0x1d0(%rbp), %rdi
callq 0x35c8
leaq -0x1a0(%rbp), %rdi
callq 0x3090
movq -0x1a8(%rbp), %rdi
callq 0x3500
nop