// File: /workspace/github_cpp_makefile_star2_O1/orbitcowboy[P]gnuplot-cpp/./gnuplot_i.hpp
// Function: Gnuplot::plotfile_x(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
Gnuplot& Gnuplot::plotfile_x(const std::string &filename,
                             const unsigned int column,
                             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;

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

    if(smooth.empty())
    {
        cmdstr << "with " << pstyle;
    }
    else
    {
        cmdstr << "smooth " << smooth;
    }

    //
    // Do the actual plot
    //
    return cmd(cmdstr.str()); //nplots++; two_dim = true;  already in cmd();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x1a0, %rsp            # imm = 0x1A0
movq %rcx, %r14
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x5586
leaq 0x28(%rsp), %r12
movq %r12, %rdi
callq 0x32b0
cmpl $0x0, 0xc(%rbx)
setg %al
andb 0x9(%rbx), %al
leaq 0x7e59(%rip), %rcx      # 0xd21b
leaq 0x7e54(%rip), %rsi      # 0xd21d
cmovneq %rcx, %rsi
movzbl %al, %eax
leaq 0x5(,%rax,2), %rdx
movq %r12, %rdi
callq 0x3250
leaq 0x7fab(%rip), %rsi      # 0xd392
leaq 0x28(%rsp), %rdi
movl $0x1, %edx
callq 0x3250
movq (%r15), %rsi
movq 0x8(%r15), %rdx
leaq 0x28(%rsp), %r15
movq %r15, %rdi
callq 0x3250
movq %rax, %r12
leaq 0x7e41(%rip), %rsi      # 0xd255
movl $0x8, %edx
movq %rax, %rdi
callq 0x3250
movl %ebp, %esi
movq %r12, %rdi
callq 0x3160
cmpq $0x0, 0x8(%r14)
je 0x546a
leaq 0x7e68(%rip), %rsi      # 0xd2a1
leaq 0x28(%rsp), %rdi
movl $0x8, %edx
callq 0x3250
movq (%r14), %rsi
movq 0x8(%r14), %rdx
leaq 0x28(%rsp), %rdi
callq 0x3250
movq %rax, %r15
movl $0x2, %edx
leaq 0x7e00(%rip), %rsi      # 0xd268
jmp 0x5476
movl $0x9, %edx
leaq 0x7de8(%rip), %rsi      # 0xd25e
movq %r15, %rdi
callq 0x3250
cmpq $0x0, 0x38(%rbx)
je 0x54a5
leaq 0x7ddf(%rip), %rsi      # 0xd26b
leaq 0x28(%rsp), %rdi
movl $0x7, %edx
callq 0x3250
leaq 0x30(%rbx), %rax
leaq 0x38(%rbx), %rcx
jmp 0x54c3
leaq 0x7d89(%rip), %rsi      # 0xd235
leaq 0x28(%rsp), %rdi
movl $0x5, %edx
callq 0x3250
leaq 0x10(%rbx), %rax
leaq 0x18(%rbx), %rcx
movq (%rax), %rsi
movq (%rcx), %rdx
leaq 0x28(%rsp), %rdi
callq 0x3250
leaq 0x30(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x3340
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x3ab8
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x550a
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3210
movq 0xba9f(%rip), %rsi      # 0x10fb0
leaq 0x28(%rsp), %rdi
callq 0x3140
leaq 0x98(%rsp), %rdi
callq 0x30c0
movq %rbx, %rax
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5560
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3210
jmp 0x5560
jmp 0x555d
movq %rax, %rbx
movq 0xba49(%rip), %rsi      # 0x10fb0
leaq 0x28(%rsp), %rdi
callq 0x3140
leaq 0x98(%rsp), %rdi
callq 0x30c0
movq %rbx, %rdi
callq 0x33f0